Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001669, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002/0.002, allocations: 192 kB / 16.25 MB, free: 6.621 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.609/1.609, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 482.3 MB / 0.7542 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.67 kB / 0.9232 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 162.2 MB / 1.082 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01445/0.376, allocations: 11.04 MB / 1.092 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.3861, allocations: 5.769 MB / 1.098 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.3875, allocations: 51.62 kB / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004337/0.3919, allocations: 1.62 MB / 1.1 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.3963, allocations: 1.066 MB / 1.101 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.3989, allocations: 0.7317 MB / 1.101 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.4025, allocations: 2.134 MB / 1.104 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.4048, allocations: 1.493 MB / 1.105 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.4064, allocations: 0.8561 MB / 1.106 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.4077, allocations: 0.9416 MB / 1.107 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.4079, allocations: 116 kB / 1.107 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.4102, allocations: 1.181 MB / 1.108 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005612/0.4108, allocations: 0.5259 MB / 1.109 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.4116, allocations: 0.781 MB / 1.109 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.415, allocations: 2.484 MB / 1.112 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.415, allocations: 4 kB / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.573e-06/0.415, allocations: 0 / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.415, allocations: 0 / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002987/0.418, allocations: 1.867 MB / 1.114 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4181, allocations: 8.031 kB / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.4226, allocations: 0.6737 MB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.4241, allocations: 0.9106 MB / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.4242, allocations: 94.91 kB / 1.115 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.4244, allocations: 128.3 kB / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.4278, allocations: 2.21 MB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.4279, allocations: 19.86 kB / 1.117 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.428, allocations: 59.97 kB / 1.118 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/0.4282, allocations: 170.2 kB / 1.118 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.4312, allocations: 1.867 MB / 1.12 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.4443, allocations: 12.46 MB / 1.132 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.4488, allocations: 1.973 MB / 1.134 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008974/0.4498, allocations: 0.6089 MB / 1.134 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.4499, allocations: 106.1 kB / 1.134 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.45, allocations: 43.56 kB / 1.134 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=103): time 2.875e-06/0.45, allocations: 7.875 kB / 1.134 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=110): time 0.006536/0.4565, allocations: 3.702 MB / 1.138 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4566, allocations: 64.41 kB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.4579, allocations: 0.9203 MB / 1.139 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.4579, allocations: 41.7 kB / 1.139 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.4585, allocations: 0.7393 MB / 1.14 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4589, allocations: 378.5 kB / 1.14 GB, free: 264 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004646/0.4594, allocations: 287.2 kB / 1.14 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4595, allocations: 309.1 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009482/0.4605, allocations: 0.6129 MB / 1.141 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.4619, allocations: 1.102 MB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.4644, allocations: 1.832 MB / 1.144 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4644, allocations: 4 kB / 1.144 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003805/0.4682, allocations: 2.104 MB / 1.146 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.4683, allocations: 12 kB / 1.146 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.4683, allocations: 19.98 kB / 1.146 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/0.4692, allocations: 254.9 kB / 1.146 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4705, allocations: 379.4 kB / 1.147 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.4812, allocations: 11.58 MB / 1.158 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4827, allocations: 123.8 kB / 1.158 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4828, allocations: 75.92 kB / 1.158 GB, free: 11.96 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007925/0.4836, allocations: 405.3 kB / 1.159 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.4839, allocations: 126.5 kB / 1.159 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.4869, allocations: 1.677 MB / 1.16 GB, free: 9.73 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.4869, allocations: 15.98 kB / 1.16 GB, free: 9.715 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.487, allocations: 8 kB / 1.16 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.487, allocations: 3.984 kB / 1.16 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.4925, allocations: 3.287 MB / 1.164 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.4925, allocations: 8 kB / 1.164 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/0.4934, allocations: 219.6 kB / 1.164 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/0.4941, allocations: 247.3 kB / 1.164 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.4942, allocations: 31.92 kB / 1.164 GB, free: 5.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.5045, allocations: 11.58 MB / 1.175 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5045, allocations: 4 kB / 1.175 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.5077, allocations: 1.799 MB / 1.177 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/0.5083, allocations: 311.3 kB / 1.178 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.5085, allocations: 31.98 kB / 1.178 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/0.5092, allocations: 87.88 kB / 1.178 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.5094, allocations: 104.6 kB / 1.178 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.5095, allocations: 32 kB / 1.178 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008435/0.5104, allocations: 0.6177 MB / 1.178 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.42e-07/0.5104, allocations: 0 / 1.178 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001464/0.5118, allocations: 392 kB / 1.179 GB, free: 5.555 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002572/0.5121, allocations: 153.2 kB / 1.179 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004778/0.5169, allocations: 2.875 MB / 1.182 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.5169, allocations: 0 / 1.182 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.5192, allocations: 1.634 MB / 1.183 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5211, allocations: 360.4 kB / 1.184 GB, free: 352 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.5262, allocations: 3.383 MB / 1.187 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.5274, allocations: 1.331 MB / 1.188 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001125/0.5285, allocations: 351.3 kB / 1.189 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.5288, allocations: 99.42 kB / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of SimCode: time 2.475e-06/0.5288, allocations: 0 / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of Templates: time 0.03284/0.5617, allocations: 17.13 MB / 1.205 GB, free: 10.08 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches