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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001714/0.001714, allocations: 106.2 kB / 15.98 MB, free: 6.355 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.002052/0.002052, allocations: 196.3 kB / 16.91 MB, free: 6.188 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.1 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.83 kB / 0.8694 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01509/0.3569, allocations: 11.05 MB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009819/0.3668, allocations: 5.762 MB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.368, allocations: 43.69 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.3724, allocations: 1.627 MB / 1.036 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.376, allocations: 1.054 MB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.3783, allocations: 0.7389 MB / 1.037 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.3815, allocations: 2.142 MB / 1.039 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.3839, allocations: 1.493 MB / 1.041 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.3856, allocations: 0.856 MB / 1.042 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.3872, allocations: 0.9378 MB / 1.043 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.3875, allocations: 119.9 kB / 1.043 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.3898, allocations: 1.173 MB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.3905, allocations: 0.522 MB / 1.044 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3915, allocations: 0.7849 MB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.3944, allocations: 1.875 MB / 1.047 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3944, allocations: 0 / 1.047 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3945, allocations: 8 kB / 1.047 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.426e-05/0.3945, allocations: 0 / 1.047 GB, free: 12.66 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.003349/0.3979, allocations: 1.867 MB / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3979, allocations: 8.922 kB / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.4027, allocations: 0.6699 MB / 1.049 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4047, allocations: 0.9146 MB / 1.05 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-05/0.4049, allocations: 102.8 kB / 1.05 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.4051, allocations: 124.3 kB / 1.051 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.4089, allocations: 2.206 MB / 1.053 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/0.409, allocations: 15.92 kB / 1.053 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.4092, allocations: 67.91 kB / 1.053 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/0.4094, allocations: 162.3 kB / 1.053 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.4126, allocations: 1.863 MB / 1.055 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.4274, allocations: 12.48 MB / 1.067 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/0.4321, allocations: 1.964 MB / 1.069 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.4331, allocations: 0.6089 MB / 1.069 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.4333, allocations: 102.1 kB / 1.07 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.4334, allocations: 43.56 kB / 1.07 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=103): time 2.484e-06/0.4334, allocations: 4 kB / 1.07 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.006671/0.4401, allocations: 3.71 MB / 1.073 GB, free: 276 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.4402, allocations: 60.41 kB / 1.073 GB, free: 200 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4495/0.8897, allocations: 0.9166 MB / 1.074 GB, free: 60.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.8898, allocations: 41.95 kB / 1.074 GB, free: 60.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.8903, allocations: 0.7288 MB / 1.075 GB, free: 60.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.8906, allocations: 389.3 kB / 1.075 GB, free: 60.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.891, allocations: 290.5 kB / 1.076 GB, free: 60.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.8911, allocations: 301.7 kB / 1.076 GB, free: 59.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.892, allocations: 0.6145 MB / 1.076 GB, free: 59.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.8931, allocations: 1.102 MB / 1.078 GB, free: 58.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.8952, allocations: 1.837 MB / 1.079 GB, free: 57.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.8952, allocations: 4.375 kB / 1.079 GB, free: 57.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003433/0.8986, allocations: 2.095 MB / 1.081 GB, free: 56.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.8987, allocations: 15.94 kB / 1.081 GB, free: 56.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.8987, allocations: 19.91 kB / 1.081 GB, free: 56.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/0.8996, allocations: 262.4 kB / 1.082 GB, free: 56.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.9009, allocations: 369.7 kB / 1.082 GB, free: 56.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006428/0.9073, allocations: 11.59 MB / 1.093 GB, free: 45.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9087, allocations: 127.9 kB / 1.093 GB, free: 45.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.9088, allocations: 71.44 kB / 1.094 GB, free: 45.27 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.0006317/0.9095, allocations: 407.2 kB / 1.094 GB, free: 45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.9097, allocations: 130.6 kB / 1.094 GB, free: 44.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.9126, allocations: 1.683 MB / 1.096 GB, free: 44.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.9126, allocations: 14.02 kB / 1.096 GB, free: 44.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9127, allocations: 3.406 kB / 1.096 GB, free: 44.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.9127, allocations: 5.953 kB / 1.096 GB, free: 44.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.9176, allocations: 3.292 MB / 1.099 GB, free: 42.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.9177, allocations: 5.031 kB / 1.099 GB, free: 42.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.9185, allocations: 227.8 kB / 1.099 GB, free: 42.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.9192, allocations: 245.6 kB / 1.099 GB, free: 42.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.9193, allocations: 33.25 kB / 1.099 GB, free: 42.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006109/0.9254, allocations: 11.56 MB / 1.111 GB, free: 31.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.9255, allocations: 6.031 kB / 1.111 GB, free: 31.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.9281, allocations: 1.807 MB / 1.112 GB, free: 30.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.9286, allocations: 309.1 kB / 1.113 GB, free: 30.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.9288, allocations: 28.69 kB / 1.113 GB, free: 30.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.9295, allocations: 91.73 kB / 1.113 GB, free: 30.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.9298, allocations: 96.41 kB / 1.113 GB, free: 30.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.9298, allocations: 40.03 kB / 1.113 GB, free: 30.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007769/0.9306, allocations: 0.6167 MB / 1.114 GB, free: 29.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9306, allocations: 0 / 1.114 GB, free: 29.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001478/0.9321, allocations: 393.7 kB / 1.114 GB, free: 29.75 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.0002/0.9323, allocations: 149.6 kB / 1.114 GB, free: 29.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004059/0.9364, allocations: 2.87 MB / 1.117 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9364, allocations: 5.531 kB / 1.117 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.9383, allocations: 1.628 MB / 1.119 GB, free: 27.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.9401, allocations: 362.2 kB / 1.119 GB, free: 26.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.9445, allocations: 3.491 MB / 1.122 GB, free: 24.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/0.9455, allocations: 1.326 MB / 1.124 GB, free: 24.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.9459, allocations: 114.2 kB / 1.124 GB, free: 24.1 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.9459, allocations: 0 / 1.124 GB, free: 24.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.06108/1.007, allocations: 59.16 MB / 1.181 GB, free: 14.61 MB / 0.8731 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=400 -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