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.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.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.001257/0.001257, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.001198/0.001198, allocations: 191.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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.314/2.314, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 64.88 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2559, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0229/0.2788, allocations: 20.28 MB / 0.9696 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.291, allocations: 7.616 MB / 0.977 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.293, allocations: 51.81 kB / 0.9771 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.2968, allocations: 1.257 MB / 0.9783 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.2998, allocations: 0.9186 MB / 0.9792 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005097/0.3049, allocations: 1.867 MB / 0.981 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005376/0.3103, allocations: 4.343 MB / 0.9853 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.3206, allocations: 7.331 MB / 0.9924 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.3236, allocations: 1.858 MB / 0.9942 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.3274, allocations: 2.306 MB / 0.9965 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.3287, allocations: 428 kB / 0.9969 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.331, allocations: 0.9441 MB / 0.9978 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.3335, allocations: 1.665 MB / 0.9994 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003211/0.3367, allocations: 1.712 MB / 1.001 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0059/0.3427, allocations: 5.32 MB / 1.006 GB, free: 15.12 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3427, allocations: 0 / 1.006 GB, free: 15.12 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3427, allocations: 0 / 1.006 GB, free: 15.12 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002129/0.3429, allocations: 0 / 1.006 GB, free: 15.12 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.00839/0.3513, allocations: 3.044 MB / 1.009 GB, free: 12.02 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3514, allocations: 8.031 kB / 1.009 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.3557, allocations: 0.7545 MB / 1.01 GB, free: 11.25 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.359, allocations: 1.544 MB / 1.012 GB, free: 9.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3592, allocations: 218.1 kB / 1.012 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.3603, allocations: 284.4 kB / 1.012 GB, free: 9.168 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.3715, allocations: 5.078 MB / 1.017 GB, free: 3.902 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.3717, allocations: 11.88 kB / 1.017 GB, free: 3.891 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008689/0.3726, allocations: 132 kB / 1.017 GB, free: 3.762 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002708/0.3729, allocations: 208.6 kB / 1.017 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008793/0.3817, allocations: 4.22 MB / 1.021 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03083/0.4126, allocations: 23.07 MB / 1.044 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.416, allocations: 1.735 MB / 1.046 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.4179, allocations: 1.145 MB / 1.047 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.4182, allocations: 101.7 kB / 1.047 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.4183, allocations: 51.16 kB / 1.047 GB, free: 3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=84): time 3.106e-06/0.4183, allocations: 0 / 1.047 GB, free: 3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87): time 0.007897/0.4262, allocations: 4.005 MB / 1.051 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.4263, allocations: 141.2 kB / 1.051 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.4278, allocations: 0.8642 MB / 1.052 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.4281, allocations: 49.64 kB / 1.052 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/0.4289, allocations: 1.154 MB / 1.053 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.4293, allocations: 319.5 kB / 1.053 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/0.4299, allocations: 274.6 kB / 1.054 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4301, allocations: 410.7 kB / 1.054 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.4315, allocations: 0.8256 MB / 1.055 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.4333, allocations: 1.31 MB / 1.056 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.4363, allocations: 2.167 MB / 1.058 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.4364, allocations: 4 kB / 1.058 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003763/0.4401, allocations: 2.21 MB / 1.06 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.4402, allocations: 15.98 kB / 1.06 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.4402, allocations: 12 kB / 1.06 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/0.4403, allocations: 24 kB / 1.06 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.442, allocations: 412 kB / 1.061 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/0.4421, allocations: 27.92 kB / 1.061 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4436, allocations: 215.2 kB / 1.061 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.4438, allocations: 67.97 kB / 1.061 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002573/0.4464, allocations: 1.683 MB / 1.063 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/0.4479, allocations: 1.186 MB / 1.064 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002483/0.4504, allocations: 1.898 MB / 1.066 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.21e-05/0.4504, allocations: 7.938 kB / 1.066 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003247/0.4537, allocations: 1.934 MB / 1.068 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4537, allocations: 12.22 kB / 1.068 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.4538, allocations: 20 kB / 1.068 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4538, allocations: 20 kB / 1.068 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4552, allocations: 367.4 kB / 1.068 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/0.4552, allocations: 31.86 kB / 1.068 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.4566, allocations: 179.4 kB / 1.068 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4568, allocations: 59.98 kB / 1.068 GB, free: 12.15 MB / 0.8575 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.0003771/0.4571, allocations: 267.7 kB / 1.069 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.4575, allocations: 98.78 kB / 1.069 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.4604, allocations: 1.85 MB / 1.07 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.4605, allocations: 12 kB / 1.07 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.4605, allocations: 4 kB / 1.07 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4605, allocations: 3.984 kB / 1.07 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.4738, allocations: 9.588 MB / 1.08 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.4738, allocations: 16.03 kB / 1.08 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4921/0.9659, allocations: 308.4 kB / 1.08 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-05/0.966, allocations: 15.28 kB / 1.08 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/0.9662, allocations: 30.73 kB / 1.08 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-05/0.9663, allocations: 25.62 kB / 1.08 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-05/0.9663, allocations: 20.94 kB / 1.08 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.9707, allocations: 2.396 MB / 1.083 GB, free: 123 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009261/0.9716, allocations: 375.1 kB / 1.083 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.9721, allocations: 35.36 kB / 1.083 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.9735, allocations: 144 kB / 1.083 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.9738, allocations: 91.78 kB / 1.083 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.9739, allocations: 39.09 kB / 1.083 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001342/0.9753, allocations: 0.6101 MB / 1.084 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9753, allocations: 2.688 kB / 1.084 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003583/0.9789, allocations: 0.7563 MB / 1.085 GB, free: 122.8 MB / 0.8575 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.0003435/0.9792, allocations: 146.2 kB / 1.085 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006132/0.9854, allocations: 3.047 MB / 1.088 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/0.9854, allocations: 1.75 kB / 1.088 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.9871, allocations: 0.9164 MB / 1.089 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.9896, allocations: 301.1 kB / 1.089 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.002, allocations: 6.649 MB / 1.095 GB, free: 117.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003387/1.005, allocations: 2.194 MB / 1.097 GB, free: 116.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/1.006, allocations: 95.58 kB / 1.098 GB, free: 116.6 MB / 0.8575 GB Notification: Performance of SimCode: time 8.91e-07/1.006, allocations: 0.8438 kB / 1.098 GB, free: 116.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.05713/1.063, allocations: 28.08 MB / 1.125 GB, free: 107.4 MB / 0.8575 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