Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.001022/0.001022, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007868/0.007868, allocations: 174.9 kB / 16.27 MB, free: 6.613 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004505, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.822, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01051/0.8325, allocations: 10.54 MB / 0.9653 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.8437, allocations: 5.78 MB / 0.971 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.8454, allocations: 41.97 kB / 0.971 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.8466, allocations: 243.3 kB / 0.9713 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.8513, allocations: 1.061 MB / 0.9723 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.8547, allocations: 0.7443 MB / 0.973 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005929/0.8607, allocations: 2.857 MB / 0.9758 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005347/0.866, allocations: 2.361 MB / 0.9781 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.8682, allocations: 0.6889 MB / 0.9788 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.8703, allocations: 0.8497 MB / 0.9796 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.8707, allocations: 58.31 kB / 0.9797 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.8743, allocations: 1.447 MB / 0.9811 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000815/0.8751, allocations: 466.6 kB / 0.9815 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.8765, allocations: 0.7241 MB / 0.9822 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.8807, allocations: 2.415 MB / 0.9846 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.8807, allocations: 0 / 0.9846 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8807, allocations: 0 / 0.9846 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001144/0.8808, allocations: 0 / 0.9846 GB, free: 0.9688 MB / 0.7325 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.003656/0.8845, allocations: 1.61 MB / 0.9862 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8846, allocations: 8.031 kB / 0.9862 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.8894, allocations: 0.6661 MB / 0.9868 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.8913, allocations: 0.9223 MB / 0.9877 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.8914, allocations: 94.89 kB / 0.9878 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/0.8918, allocations: 124.4 kB / 0.9879 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.896, allocations: 2.206 MB / 0.9901 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-05/0.896, allocations: 19.78 kB / 0.9901 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.8962, allocations: 59.97 kB / 0.9902 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.8965, allocations: 166.3 kB / 0.9903 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.9, allocations: 1.867 MB / 0.9921 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.9155, allocations: 12.47 MB / 1.004 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.9201, allocations: 1.96 MB / 1.006 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009871/0.9212, allocations: 0.6089 MB / 1.007 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.9214, allocations: 98.08 kB / 1.007 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.9215, allocations: 47.56 kB / 1.007 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 4.498e-06/0.9215, allocations: 0 / 1.007 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.007065/0.9286, allocations: 3.722 MB / 1.011 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.9287, allocations: 68.34 kB / 1.011 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.9302, allocations: 0.9165 MB / 1.012 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.9303, allocations: 45.64 kB / 1.012 GB, free: 3.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.9309, allocations: 0.7393 MB / 1.012 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.9312, allocations: 382.4 kB / 1.013 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.9314, allocations: 121.6 kB / 1.013 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9315, allocations: 305.1 kB / 1.013 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009836/0.9325, allocations: 0.6129 MB / 1.014 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.9339, allocations: 1.106 MB / 1.015 GB, free: 284 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.9364, allocations: 1.832 MB / 1.017 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.9364, allocations: 4 kB / 1.017 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003527/0.9399, allocations: 2.104 MB / 1.019 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.94, allocations: 8 kB / 1.019 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.94, allocations: 16 kB / 1.019 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008267/0.9408, allocations: 262.8 kB / 1.019 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.9421, allocations: 371.4 kB / 1.019 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008838/0.951, allocations: 10.77 MB / 1.03 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.9525, allocations: 123.8 kB / 1.03 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.9528, allocations: 71.98 kB / 1.03 GB, free: 15.39 MB / 0.795 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.0009392/0.9537, allocations: 406.3 kB / 1.03 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.9541, allocations: 130.5 kB / 1.03 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.9579, allocations: 1.681 MB / 1.032 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.9579, allocations: 12 kB / 1.032 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.958, allocations: 8 kB / 1.032 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.958, allocations: 7.969 kB / 1.032 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/0.9638, allocations: 3.283 MB / 1.035 GB, free: 9.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.9638, allocations: 8 kB / 1.035 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/0.9647, allocations: 220.3 kB / 1.036 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/0.9654, allocations: 246.5 kB / 1.036 GB, free: 9.195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.9655, allocations: 32 kB / 1.036 GB, free: 9.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008279/0.9738, allocations: 10.74 MB / 1.046 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.9739, allocations: 4 kB / 1.046 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.9771, allocations: 1.807 MB / 1.048 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/0.9779, allocations: 323.4 kB / 1.048 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/0.9782, allocations: 31.92 kB / 1.048 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.9792, allocations: 91.81 kB / 1.049 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.9795, allocations: 100.7 kB / 1.049 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.9796, allocations: 32 kB / 1.049 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001107/0.9807, allocations: 0.6216 MB / 1.049 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9807, allocations: 4 kB / 1.049 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001996/0.9827, allocations: 392 kB / 1.05 GB, free: 9.836 MB / 0.8106 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.0003468/0.9831, allocations: 146.1 kB / 1.05 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004223/0.9873, allocations: 2.496 MB / 1.052 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.9873, allocations: 4 kB / 1.052 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.9897, allocations: 1.634 MB / 1.054 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.9929, allocations: 333.6 kB / 1.054 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.9988, allocations: 3.389 MB / 1.057 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1, allocations: 1.331 MB / 1.059 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001608/1.002, allocations: 363.3 kB / 1.059 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.002, allocations: 95.42 kB / 1.059 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of SimCode: time 1.693e-06/1.002, allocations: 0 / 1.059 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.03138/1.034, allocations: 16.21 MB / 1.075 GB, free: 15.67 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches