Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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_11_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_11_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.001543/0.001543, allocations: 109.6 kB / 15.99 MB, free: 6.367 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.001488/0.001488, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.05 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3057, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01324/0.319, allocations: 11.05 MB / 1.075 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5324/0.8514, allocations: 5.749 MB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.8526, allocations: 45.53 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.8563, allocations: 1.628 MB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.8588, allocations: 1.054 MB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.8607, allocations: 0.7435 MB / 1.084 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.863, allocations: 2.134 MB / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.8649, allocations: 1.494 MB / 1.087 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.8662, allocations: 0.8534 MB / 1.088 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.8673, allocations: 0.9394 MB / 1.089 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.8675, allocations: 119 kB / 1.089 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.8698, allocations: 1.177 MB / 1.09 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.8704, allocations: 0.5279 MB / 1.091 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.8712, allocations: 0.7884 MB / 1.092 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.874, allocations: 1.885 MB / 1.094 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8741, allocations: 0 / 1.094 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8741, allocations: 0.75 kB / 1.094 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.41e-05/0.8741, allocations: 0 / 1.094 GB, free: 8.996 MB / 0.8419 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.002808/0.8769, allocations: 1.867 MB / 1.095 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.877, allocations: 8.656 kB / 1.095 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.8814, allocations: 0.6676 MB / 1.096 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.8828, allocations: 0.9115 MB / 1.097 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.8828, allocations: 98.73 kB / 1.097 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.8831, allocations: 123.8 kB / 1.097 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.8861, allocations: 2.211 MB / 1.099 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.8862, allocations: 16.16 kB / 1.099 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.8863, allocations: 61.53 kB / 1.099 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.8866, allocations: 162.1 kB / 1.1 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002868/0.8895, allocations: 1.87 MB / 1.101 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.9011, allocations: 12.47 MB / 1.114 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.9055, allocations: 1.972 MB / 1.116 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000887/0.9064, allocations: 0.6116 MB / 1.116 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.9066, allocations: 100.3 kB / 1.116 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.9066, allocations: 46.31 kB / 1.116 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 2.896e-06/0.9066, allocations: 0 / 1.116 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.006393/0.913, allocations: 3.704 MB / 1.12 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.9131, allocations: 68.03 kB / 1.12 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.9143, allocations: 0.9192 MB / 1.121 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.9144, allocations: 41.8 kB / 1.121 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.915, allocations: 0.7295 MB / 1.122 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.9154, allocations: 392.3 kB / 1.122 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.9158, allocations: 285.6 kB / 1.122 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9159, allocations: 302.5 kB / 1.123 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/0.9169, allocations: 0.6122 MB / 1.123 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.9183, allocations: 1.11 MB / 1.124 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.9208, allocations: 1.827 MB / 1.126 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.9208, allocations: 11.69 kB / 1.126 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003709/0.9245, allocations: 2.1 MB / 1.128 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.9245, allocations: 11.62 kB / 1.128 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.9246, allocations: 16.67 kB / 1.128 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.9254, allocations: 264.2 kB / 1.128 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.9267, allocations: 373 kB / 1.129 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009572/0.9362, allocations: 11.59 MB / 1.14 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.9378, allocations: 124.7 kB / 1.14 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.938, allocations: 70.23 kB / 1.14 GB, free: 7.367 MB / 0.8731 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.0008609/0.9388, allocations: 413.8 kB / 1.141 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.9391, allocations: 132.7 kB / 1.141 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.942, allocations: 1.675 MB / 1.142 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.9421, allocations: 16.22 kB / 1.142 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9421, allocations: 2.656 kB / 1.142 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.9421, allocations: 6.094 kB / 1.142 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.9476, allocations: 3.292 MB / 1.146 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.9477, allocations: 4.781 kB / 1.146 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.9485, allocations: 219.3 kB / 1.146 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007374/0.9493, allocations: 255.2 kB / 1.146 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.9494, allocations: 24.33 kB / 1.146 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009425/0.9588, allocations: 11.57 MB / 1.157 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.9588, allocations: 6.828 kB / 1.157 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.9618, allocations: 1.805 MB / 1.159 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/0.9624, allocations: 304.2 kB / 1.159 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.9626, allocations: 30.8 kB / 1.159 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.9633, allocations: 91.3 kB / 1.16 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.9635, allocations: 96.78 kB / 1.16 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.9636, allocations: 34.88 kB / 1.16 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000873/0.9645, allocations: 0.6215 MB / 1.16 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9645, allocations: 0 / 1.16 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001562/0.966, allocations: 393.4 kB / 1.161 GB, free: 7.832 MB / 0.8887 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.0002545/0.9663, allocations: 140.7 kB / 1.161 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004558/0.9709, allocations: 2.887 MB / 1.164 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9709, allocations: 1.125 kB / 1.164 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.973, allocations: 1.62 MB / 1.165 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.9747, allocations: 349 kB / 1.166 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.9799, allocations: 3.493 MB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.981, allocations: 1.327 MB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.9814, allocations: 115.2 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of SimCode: time 8.42e-07/0.9814, allocations: 0 / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of Templates: time 0.06467/1.046, allocations: 59.16 MB / 1.228 GB, free: 11.37 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches