Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008397, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003734, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7793, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02105/0.8004, allocations: 19.64 MB / 0.9749 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.8143, allocations: 7.645 MB / 0.9824 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.8169, allocations: 50.47 kB / 0.9824 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.8183, allocations: 373.4 kB / 0.9828 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.8215, allocations: 0.9406 MB / 0.9837 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.8254, allocations: 1.318 MB / 0.985 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007961/0.8334, allocations: 6.45 MB / 0.9913 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/0.8466, allocations: 7.522 MB / 0.9986 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.8496, allocations: 1.253 MB / 0.9998 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.8533, allocations: 1.877 MB / 1.002 GB, free: 104 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009168/0.8543, allocations: 180 kB / 1.002 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.8568, allocations: 0.8578 MB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.8592, allocations: 1.341 MB / 1.004 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003286/0.8625, allocations: 1.374 MB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006058/0.8686, allocations: 5.172 MB / 1.01 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8686, allocations: 0 / 1.01 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8686, allocations: 4 kB / 1.01 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000175/0.8688, allocations: 0 / 1.01 GB, free: 7.148 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005922/0.8747, allocations: 2.452 MB / 1.013 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8748, allocations: 12.03 kB / 1.013 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004082/0.8789, allocations: 0.7428 MB / 1.014 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.8823, allocations: 1.547 MB / 1.015 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.8825, allocations: 218.1 kB / 1.015 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007433/0.8832, allocations: 280.4 kB / 1.016 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/0.8931, allocations: 5.097 MB / 1.02 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.205e-05/0.8932, allocations: 7.938 kB / 1.02 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.8936, allocations: 124 kB / 1.021 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.8938, allocations: 208.6 kB / 1.021 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00807/0.9019, allocations: 4.232 MB / 1.025 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.9292, allocations: 23.09 MB / 1.047 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.9321, allocations: 1.739 MB / 1.049 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.9338, allocations: 1.129 MB / 1.05 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.934, allocations: 105.7 kB / 1.05 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.9341, allocations: 47.22 kB / 1.05 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 2.995e-06/0.9341, allocations: 3.938 kB / 1.05 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87): time 0.006598/0.9407, allocations: 4.024 MB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.9408, allocations: 141.2 kB / 1.055 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.942, allocations: 0.8681 MB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.798e-05/0.9421, allocations: 41.7 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000792/0.9429, allocations: 1.169 MB / 1.057 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.9432, allocations: 307.6 kB / 1.057 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.9434, allocations: 105.7 kB / 1.057 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.9436, allocations: 410.7 kB / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.9449, allocations: 0.8184 MB / 1.058 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.9466, allocations: 1.318 MB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.9496, allocations: 2.179 MB / 1.062 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9496, allocations: 4 kB / 1.062 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003643/0.9532, allocations: 2.218 MB / 1.064 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003477/0.9536, allocations: 0.5024 MB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.9536, allocations: 16 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.9537, allocations: 20.09 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.9554, allocations: 423.2 kB / 1.065 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.9554, allocations: 23.94 kB / 1.065 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.9568, allocations: 231.1 kB / 1.065 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9569, allocations: 59.98 kB / 1.065 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9569, allocations: 4 kB / 1.065 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002938/0.9599, allocations: 1.808 MB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.9599, allocations: 16 kB / 1.067 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.96, allocations: 20 kB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.9613, allocations: 363.4 kB / 1.067 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.574e-05/0.9614, allocations: 31.88 kB / 1.067 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.9624, allocations: 167.5 kB / 1.067 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.9625, allocations: 55.98 kB / 1.067 GB, free: 9.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001958/0.9645, allocations: 1.176 MB / 1.068 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.9648, allocations: 102.8 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.9679, allocations: 1.862 MB / 1.07 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.9679, allocations: 8 kB / 1.07 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.9679, allocations: 4 kB / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.9679, allocations: 3.984 kB / 1.07 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.9809, allocations: 9.591 MB / 1.08 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.9809, allocations: 16.91 kB / 1.08 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.9821, allocations: 319.4 kB / 1.08 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.9822, allocations: 16 kB / 1.08 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.9822, allocations: 31.98 kB / 1.08 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.759e-05/0.9823, allocations: 19.94 kB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.146e-05/0.9823, allocations: 19.94 kB / 1.08 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.9854, allocations: 2.409 MB / 1.083 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.986, allocations: 395.4 kB / 1.083 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.9863, allocations: 31.98 kB / 1.083 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.9874, allocations: 147.8 kB / 1.083 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.9876, allocations: 91.61 kB / 1.083 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.9877, allocations: 36 kB / 1.083 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009537/0.9886, allocations: 0.6161 MB / 1.084 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9886, allocations: 0 / 1.084 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002601/0.9912, allocations: 0.75 MB / 1.085 GB, free: 7.492 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.9915, allocations: 148.2 kB / 1.085 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004553/0.9961, allocations: 2.881 MB / 1.087 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9961, allocations: 0 / 1.087 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.9974, allocations: 0.9197 MB / 1.088 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/1.001, allocations: 291.6 kB / 1.089 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/1.01, allocations: 6.675 MB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/1.012, allocations: 2.191 MB / 1.097 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/1.013, allocations: 103.4 kB / 1.097 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of SimCode: time 1.283e-06/1.013, allocations: 0 / 1.097 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.04368/1.057, allocations: 27.77 MB / 1.125 GB, free: 14.38 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches