Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00157/0.00157, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001661/0.001661, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 61.09 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3397, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01437/0.3542, allocations: 11.1 MB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.3647, allocations: 5.797 MB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.3664, allocations: 47.69 kB / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.3711, allocations: 1.729 MB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.3753, allocations: 1.147 MB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.378, allocations: 0.8046 MB / 1.039 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004016/0.3821, allocations: 2.131 MB / 1.041 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.3846, allocations: 1.303 MB / 1.042 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.3866, allocations: 0.8483 MB / 1.043 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.3889, allocations: 0.9182 MB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005773/0.3894, allocations: 116 kB / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.3927, allocations: 1.173 MB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009703/0.3937, allocations: 0.5181 MB / 1.046 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.3958, allocations: 0.7966 MB / 1.047 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004385/0.4002, allocations: 2.418 MB / 1.049 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4002, allocations: 0 / 1.049 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.976e-06/0.4002, allocations: 0 / 1.049 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.4002, allocations: 0 / 1.049 GB, free: 10.88 MB / 0.8262 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.003366/0.4036, allocations: 1.881 MB / 1.051 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4037, allocations: 12.92 kB / 1.051 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004523/0.4082, allocations: 0.6699 MB / 1.051 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.4103, allocations: 1.008 MB / 1.052 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.4104, allocations: 90.91 kB / 1.052 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.4106, allocations: 128.2 kB / 1.053 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.4139, allocations: 2.21 MB / 1.055 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/0.414, allocations: 11.88 kB / 1.055 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.4141, allocations: 59.98 kB / 1.055 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.4143, allocations: 158.3 kB / 1.055 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.4172, allocations: 1.871 MB / 1.057 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.4298, allocations: 12.44 MB / 1.069 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.4339, allocations: 1.956 MB / 1.071 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.4347, allocations: 0.6088 MB / 1.071 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.4349, allocations: 106.1 kB / 1.072 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4349, allocations: 47.56 kB / 1.072 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.4349, allocations: 3.938 kB / 1.072 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.5782/1.013, allocations: 3.7 MB / 1.075 GB, free: 60.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.013, allocations: 65.5 kB / 1.075 GB, free: 60.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.015, allocations: 0.919 MB / 1.076 GB, free: 60.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/1.015, allocations: 41.52 kB / 1.076 GB, free: 60.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/1.015, allocations: 0.7312 MB / 1.077 GB, free: 59.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/1.016, allocations: 384.9 kB / 1.077 GB, free: 59.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/1.016, allocations: 286.3 kB / 1.078 GB, free: 59.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/1.016, allocations: 306.7 kB / 1.078 GB, free: 58.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008965/1.017, allocations: 0.6127 MB / 1.078 GB, free: 58.63 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.018, allocations: 1.105 MB / 1.08 GB, free: 57.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/1.021, allocations: 1.831 MB / 1.081 GB, free: 56.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/1.021, allocations: 3.656 kB / 1.081 GB, free: 56.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004102/1.025, allocations: 2.103 MB / 1.083 GB, free: 55.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/1.025, allocations: 16.64 kB / 1.083 GB, free: 55.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/1.025, allocations: 17.42 kB / 1.083 GB, free: 55.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/1.026, allocations: 259.4 kB / 1.084 GB, free: 55.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.027, allocations: 373.2 kB / 1.084 GB, free: 55.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/1.035, allocations: 11.58 MB / 1.095 GB, free: 44.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.036, allocations: 127.7 kB / 1.095 GB, free: 44.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.036, allocations: 69.52 kB / 1.096 GB, free: 44.25 MB / 0.8419 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.0009507/1.037, allocations: 411 kB / 1.096 GB, free: 43.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.037, allocations: 131 kB / 1.096 GB, free: 43.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/1.04, allocations: 1.671 MB / 1.098 GB, free: 43.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.04, allocations: 15.06 kB / 1.098 GB, free: 43.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.041, allocations: 6 kB / 1.098 GB, free: 43.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.041, allocations: 10.84 kB / 1.098 GB, free: 43.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/1.046, allocations: 3.296 MB / 1.101 GB, free: 41.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.046, allocations: 5.375 kB / 1.101 GB, free: 41.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/1.047, allocations: 220.1 kB / 1.101 GB, free: 41.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007204/1.048, allocations: 250.2 kB / 1.101 GB, free: 41.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/1.048, allocations: 32.5 kB / 1.101 GB, free: 41.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/1.054, allocations: 11.55 MB / 1.113 GB, free: 30.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.054, allocations: 13.62 kB / 1.113 GB, free: 30.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/1.057, allocations: 1.803 MB / 1.114 GB, free: 29.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/1.058, allocations: 312.2 kB / 1.115 GB, free: 29.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/1.058, allocations: 32.47 kB / 1.115 GB, free: 29.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/1.059, allocations: 88.42 kB / 1.115 GB, free: 29.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.059, allocations: 104 kB / 1.115 GB, free: 29.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.059, allocations: 31.75 kB / 1.115 GB, free: 29.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001007/1.06, allocations: 0.6202 MB / 1.116 GB, free: 28.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.06, allocations: 0 / 1.116 GB, free: 28.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001754/1.062, allocations: 389.8 kB / 1.116 GB, free: 28.74 MB / 0.8419 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.0002465/1.062, allocations: 145.3 kB / 1.116 GB, free: 28.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003825/1.066, allocations: 2.505 MB / 1.119 GB, free: 27.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/1.066, allocations: 5.219 kB / 1.119 GB, free: 27.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.068, allocations: 1.621 MB / 1.12 GB, free: 26.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.07, allocations: 362.3 kB / 1.12 GB, free: 25.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/1.075, allocations: 2.744 MB / 1.123 GB, free: 24.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.076, allocations: 1.329 MB / 1.124 GB, free: 23.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001143/1.077, allocations: 358.2 kB / 1.125 GB, free: 23.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/1.077, allocations: 100.7 kB / 1.125 GB, free: 23.75 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/1.077, allocations: 0 / 1.125 GB, free: 23.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.03704/1.114, allocations: 17.08 MB / 1.142 GB, free: 18.77 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches