Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 193.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5221, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.017/0.5391, allocations: 20.11 MB / 0.9687 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008702/0.5478, allocations: 6.431 MB / 0.975 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.5492, allocations: 78.28 kB / 0.975 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004404/0.5536, allocations: 2.087 MB / 0.9771 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.5559, allocations: 1.113 MB / 0.9782 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.5582, allocations: 1.163 MB / 0.9793 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005441/0.5637, allocations: 6.978 MB / 0.9861 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006434/0.5701, allocations: 6.152 MB / 0.9921 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.5726, allocations: 1.783 MB / 0.9939 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.5752, allocations: 2.391 MB / 0.9962 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.5756, allocations: 296 kB / 0.9965 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.5775, allocations: 1.026 MB / 0.9975 GB, free: 340 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.5787, allocations: 1.528 MB / 0.999 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.5803, allocations: 1.762 MB / 1.001 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.5849, allocations: 6.415 MB / 1.007 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5849, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5849, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.875e-05/0.585, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004605/0.5896, allocations: 3.452 MB / 1.01 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5896, allocations: 16.03 kB / 1.01 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004862/0.5901, allocations: 458.5 kB / 1.011 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/0.5931, allocations: 0.6332 MB / 1.011 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.5958, allocations: 1.936 MB / 1.013 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.5959, allocations: 222.3 kB / 1.014 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/0.5963, allocations: 307.9 kB / 1.014 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006405/0.6027, allocations: 4.874 MB / 1.019 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.6028, allocations: 11.94 kB / 1.019 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/0.6031, allocations: 128 kB / 1.019 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003746/0.6035, allocations: 233.7 kB / 1.019 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/0.6086, allocations: 3.746 MB / 1.023 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.6253, allocations: 21.59 MB / 1.044 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.6268, allocations: 1.307 MB / 1.045 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.628, allocations: 1.045 MB / 1.046 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.6281, allocations: 13 kB / 1.046 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6281, allocations: 47.55 kB / 1.046 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 2.414e-06/0.6281, allocations: 3.938 kB / 1.046 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.02057/0.6487, allocations: 8.649 MB / 1.054 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.6488, allocations: 72.72 kB / 1.055 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.6499, allocations: 1.122 MB / 1.056 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.65, allocations: 49.7 kB / 1.056 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006566/0.6506, allocations: 1.304 MB / 1.057 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.651, allocations: 477.1 kB / 1.057 GB, free: 468 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.6514, allocations: 291.3 kB / 1.058 GB, free: 172 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.6514, allocations: 305.1 kB / 1.058 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.6526, allocations: 0.9135 MB / 1.059 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.6539, allocations: 1.334 MB / 1.06 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.6565, allocations: 2.426 MB / 1.063 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6565, allocations: 0 / 1.063 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005153/0.6617, allocations: 3.468 MB / 1.066 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6617, allocations: 12 kB / 1.066 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.6617, allocations: 12 kB / 1.066 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.6646, allocations: 1.182 MB / 1.067 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.6654, allocations: 267.6 kB / 1.067 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.6799, allocations: 12.71 MB / 1.08 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.6808, allocations: 91.97 kB / 1.08 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6809, allocations: 64 kB / 1.08 GB, free: 8.629 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00139/0.6823, allocations: 1.118 MB / 1.081 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.6826, allocations: 162.1 kB / 1.081 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/0.6875, allocations: 3.173 MB / 1.084 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6875, allocations: 16 kB / 1.084 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.6875, allocations: 12 kB / 1.084 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6875, allocations: 11.91 kB / 1.084 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008335/0.6959, allocations: 6.245 MB / 1.09 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6959, allocations: 4 kB / 1.09 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.6964, allocations: 144.3 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.699, allocations: 1.079 MB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.6991, allocations: 24 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.7123, allocations: 12.41 MB / 1.104 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.7123, allocations: 7.938 kB / 1.104 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/0.7167, allocations: 3.154 MB / 1.107 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.7173, allocations: 423.1 kB / 1.107 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.7175, allocations: 28 kB / 1.107 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.7181, allocations: 87.83 kB / 1.107 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.7184, allocations: 124.7 kB / 1.107 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.7185, allocations: 36 kB / 1.107 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007965/0.7193, allocations: 0.7671 MB / 1.108 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7193, allocations: 0 / 1.108 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001406/0.7207, allocations: 0.664 MB / 1.109 GB, free: 10.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/0.7253, allocations: 3.74 MB / 1.113 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003902/0.7292, allocations: 3.123 MB / 1.116 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7292, allocations: 0 / 1.116 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.7317, allocations: 1.948 MB / 1.118 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.7334, allocations: 469.1 kB / 1.118 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/0.7594, allocations: 21.37 MB / 1.139 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.7613, allocations: 2.336 MB / 1.141 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.7622, allocations: 354.1 kB / 1.141 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/0.7631, allocations: 1.007 MB / 1.142 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.7631, allocations: 4 kB / 1.142 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.856/3.619, allocations: 50.26 MB / 1.192 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/3.62, allocations: 246.1 kB / 1.192 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/6.556, allocations: 0 / 1.192 GB, free: 5.027 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches