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.001767/0.001766, 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.001966/0.001967, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.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.694/2.694, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 59.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7704, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01293/0.7834, allocations: 11.05 MB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009923/0.7934, allocations: 5.773 MB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.7951, allocations: 43.69 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/0.7996, allocations: 1.623 MB / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.8039, allocations: 1.058 MB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.8064, allocations: 0.737 MB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003531/0.81, allocations: 2.134 MB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.8128, allocations: 1.495 MB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.815, allocations: 0.8483 MB / 1.041 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.8169, allocations: 0.9494 MB / 1.042 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.8173, allocations: 116 kB / 1.042 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.8204, allocations: 1.177 MB / 1.043 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008065/0.8213, allocations: 0.522 MB / 1.044 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.8228, allocations: 0.7888 MB / 1.044 GB, free: 6.281 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.8277, allocations: 2.484 MB / 1.047 GB, free: 3.789 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8277, allocations: 3.938 kB / 1.047 GB, free: 3.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8277, allocations: 0 / 1.047 GB, free: 3.785 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.819e-05/0.8278, allocations: 0 / 1.047 GB, free: 3.785 MB / 0.795 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.003816/0.8316, allocations: 1.879 MB / 1.049 GB, free: 1.848 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.8317, allocations: 12.03 kB / 1.049 GB, free: 1.836 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/0.8363, allocations: 0.666 MB / 1.049 GB, free: 1.168 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.838, allocations: 0.9068 MB / 1.05 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/0.8381, allocations: 98.89 kB / 1.05 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.8384, allocations: 128.3 kB / 1.05 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.842, allocations: 2.206 MB / 1.053 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.308e-05/0.8421, allocations: 15.86 kB / 1.053 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.8423, allocations: 63.97 kB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.8425, allocations: 158.3 kB / 1.053 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.8456, allocations: 1.871 MB / 1.055 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.8582, allocations: 12.47 MB / 1.067 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.8624, allocations: 1.965 MB / 1.069 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.8632, allocations: 0.6049 MB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.8634, allocations: 102.1 kB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.8634, allocations: 43.56 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 2.776e-06/0.8634, allocations: 0 / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.007661/0.8711, allocations: 3.71 MB / 1.073 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.8712, allocations: 60.41 kB / 1.073 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.8733, allocations: 0.9243 MB / 1.074 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.8734, allocations: 45.7 kB / 1.074 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.8743, allocations: 0.7353 MB / 1.075 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006555/0.8749, allocations: 382.5 kB / 1.075 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000589/0.8755, allocations: 287.2 kB / 1.075 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8757, allocations: 301.1 kB / 1.076 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.877, allocations: 0.6129 MB / 1.076 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/0.8794, allocations: 1.109 MB / 1.077 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.8832, allocations: 1.832 MB / 1.079 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.8832, allocations: 4 kB / 1.079 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005501/0.8887, allocations: 2.104 MB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.8888, allocations: 12.94 kB / 1.081 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.8888, allocations: 16 kB / 1.081 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.8901, allocations: 263.1 kB / 1.082 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.8921, allocations: 375.4 kB / 1.082 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.9053, allocations: 11.58 MB / 1.093 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.9073, allocations: 124 kB / 1.093 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.9077, allocations: 83.92 kB / 1.093 GB, free: 0.9219 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.001121/0.9088, allocations: 401.7 kB / 1.094 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.9093, allocations: 130.4 kB / 1.094 GB, free: 400 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.9139, allocations: 1.685 MB / 1.096 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.914, allocations: 12 kB / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.914, allocations: 0 / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.914, allocations: 3.984 kB / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007952/0.922, allocations: 3.295 MB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.922, allocations: 4.688 kB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.9232, allocations: 219.6 kB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/0.9243, allocations: 250.7 kB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.9244, allocations: 31.92 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.9374, allocations: 11.56 MB / 1.111 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/0.9375, allocations: 11.94 kB / 1.111 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/0.9422, allocations: 1.799 MB / 1.112 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.943, allocations: 307.4 kB / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.9435, allocations: 35.89 kB / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.9448, allocations: 91.81 kB / 1.113 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.9452, allocations: 104.6 kB / 1.113 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.9453, allocations: 36 kB / 1.113 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001299/0.9466, allocations: 0.6216 MB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9466, allocations: 4 kB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002448/0.9491, allocations: 388 kB / 1.114 GB, free: 10.5 MB / 0.8731 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.0003453/0.9495, allocations: 147 kB / 1.114 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006609/0.9561, allocations: 2.879 MB / 1.117 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.9561, allocations: 0 / 1.117 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/0.9592, allocations: 1.63 MB / 1.118 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.9621, allocations: 358.4 kB / 1.119 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007514/0.9697, allocations: 3.372 MB / 1.122 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.9714, allocations: 1.331 MB / 1.123 GB, free: 468 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001635/0.9731, allocations: 359.3 kB / 1.124 GB, free: 104 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.9735, allocations: 99.41 kB / 1.124 GB, free: 4 kB / 0.8731 GB Notification: Performance of SimCode: time 8.92e-07/0.9735, allocations: 0 / 1.124 GB, free: 4 kB / 0.8731 GB Notification: Performance of Templates: time 0.03397/1.008, allocations: 17.13 MB / 1.141 GB, free: 15.04 MB / 0.9044 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 -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/jenkins/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