Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.0008754/0.0008754, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005361/0.005361, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.401/2.401, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 11.48 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03086/0.2706, allocations: 33.72 MB / 1.092 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.2858, allocations: 11.39 MB / 1.103 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.2881, allocations: 139.2 kB / 1.103 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.29, allocations: 0.6938 MB / 1.104 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004307/0.2943, allocations: 1.875 MB / 1.105 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.2986, allocations: 1.994 MB / 1.107 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.3086, allocations: 12.4 MB / 1.12 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/0.3273, allocations: 14.34 MB / 1.134 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.331, allocations: 2.618 MB / 1.136 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004613/0.3357, allocations: 3.554 MB / 1.14 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009693/0.3367, allocations: 328 kB / 1.14 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.3402, allocations: 1.899 MB / 1.142 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002627/0.3429, allocations: 2.467 MB / 1.144 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.3458, allocations: 2.73 MB / 1.147 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008656/0.3545, allocations: 11.43 MB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3545, allocations: 0 / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3545, allocations: 3.984 kB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002001/0.3547, allocations: 4 kB / 1.158 GB, free: 14.92 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00761/0.3623, allocations: 4.663 MB / 1.163 GB, free: 10.19 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3624, allocations: 11.97 kB / 1.163 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009431/0.3633, allocations: 0.8051 MB / 1.163 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.3682, allocations: 1.067 MB / 1.164 GB, free: 8.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/0.3725, allocations: 3.262 MB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.3728, allocations: 415.5 kB / 1.168 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000955/0.3737, allocations: 0.5354 MB / 1.168 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.3866, allocations: 9.083 MB / 1.177 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.3867, allocations: 27.69 kB / 1.177 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/0.3872, allocations: 236 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/0.3875, allocations: 354.7 kB / 1.178 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008808/0.3964, allocations: 6.83 MB / 1.185 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/0.4287, allocations: 40.18 MB / 1.224 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005605/0.4344, allocations: 3.103 MB / 1.227 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003894/0.4383, allocations: 1.947 MB / 1.229 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.4384, allocations: 22 kB / 1.229 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.4385, allocations: 56.48 kB / 1.229 GB, free: 2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=179): time 7.754e-06/0.4385, allocations: 3.984 kB / 1.229 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=182): time 0.03737/0.4759, allocations: 10.03 MB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.4759, allocations: 81.34 kB / 1.239 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.4783, allocations: 1.522 MB / 1.24 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.4785, allocations: 57.7 kB / 1.24 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.4798, allocations: 2.253 MB / 1.242 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.4804, allocations: 0.6316 MB / 1.243 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.4806, allocations: 174.2 kB / 1.243 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.4807, allocations: 305.1 kB / 1.244 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.4825, allocations: 1.179 MB / 1.245 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.422/0.9045, allocations: 1.882 MB / 1.247 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.9082, allocations: 3.373 MB / 1.25 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.9082, allocations: 6.938 kB / 1.25 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006011/0.9143, allocations: 4.577 MB / 1.254 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9143, allocations: 14.84 kB / 1.254 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.9143, allocations: 21.59 kB / 1.254 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/0.9174, allocations: 1.584 MB / 1.256 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.9184, allocations: 350.2 kB / 1.256 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.9369, allocations: 17.07 MB / 1.273 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.9383, allocations: 118.9 kB / 1.273 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.9385, allocations: 97.25 kB / 1.273 GB, free: 161 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002481/0.941, allocations: 1.894 MB / 1.275 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.9412, allocations: 228.3 kB / 1.275 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006202/0.9474, allocations: 4.099 MB / 1.279 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.9474, allocations: 17.69 kB / 1.279 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.9475, allocations: 17.42 kB / 1.279 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.9475, allocations: 9.75 kB / 1.279 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.9589, allocations: 9.461 MB / 1.288 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9589, allocations: 4.75 kB / 1.288 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.9596, allocations: 181.7 kB / 1.289 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.9625, allocations: 1.356 MB / 1.29 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.9626, allocations: 36.38 kB / 1.29 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.9768, allocations: 15.99 MB / 1.306 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9768, allocations: 7.656 kB / 1.306 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/0.9816, allocations: 4.071 MB / 1.31 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.9822, allocations: 0.5299 MB / 1.31 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.9824, allocations: 39.52 kB / 1.31 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.9833, allocations: 94.05 kB / 1.31 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.9835, allocations: 169.9 kB / 1.31 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.9836, allocations: 46.41 kB / 1.31 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008783/0.9845, allocations: 0.9994 MB / 1.311 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9845, allocations: 0 / 1.311 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002247/0.9868, allocations: 0.9884 MB / 1.312 GB, free: 140.2 MB / 0.9981 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004938/0.9917, allocations: 4.655 MB / 1.317 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004702/0.9964, allocations: 4.305 MB / 1.321 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9965, allocations: 0 / 1.321 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.9994, allocations: 2.67 MB / 1.324 GB, free: 129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.003, allocations: 0.7167 MB / 1.324 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/1.033, allocations: 30.91 MB / 1.355 GB, free: 95.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/1.036, allocations: 3.573 MB / 1.358 GB, free: 91.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001021/1.037, allocations: 463.9 kB / 1.359 GB, free: 91.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.038, allocations: 1.788 MB / 1.36 GB, free: 89.56 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.038, allocations: 0 / 1.36 GB, free: 89.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.88/3.918, allocations: 69.86 MB / 1.429 GB, free: 20.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/3.918, allocations: 256 kB / 1.429 GB, free: 20.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/7.142, allocations: 2.953 kB / 1.429 GB, free: 20.14 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches