Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 104.4 kB / 16.41 MB, free: 6.488 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.001529/0.001529, allocations: 187 kB / 17.34 MB, free: 5.73 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 63.84 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.9323, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007126/0.9395, allocations: 4.28 MB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.9439, allocations: 2.373 MB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.9445, allocations: 19.88 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.9459, allocations: 376.9 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.9471, allocations: 374.1 kB / 1.216 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.9481, allocations: 319.2 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.9491, allocations: 0.6828 MB / 1.217 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005226/0.9497, allocations: 250 kB / 1.217 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.9502, allocations: 262.9 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.9508, allocations: 262.9 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.9509, allocations: 32 kB / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.9518, allocations: 435 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.9521, allocations: 147.5 kB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.9524, allocations: 234.7 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.9537, allocations: 0.7337 MB / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9537, allocations: 0 / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9538, allocations: 0 / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.47e-05/0.9538, allocations: 0 / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001778/0.9556, allocations: 0.7831 MB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9556, allocations: 12.03 kB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.9571, allocations: 184.1 kB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/0.9579, allocations: 444.4 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.958, allocations: 25.36 kB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.9581, allocations: 36.36 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009866/0.9591, allocations: 0.6471 MB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9591, allocations: 8 kB / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.9592, allocations: 23.97 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/0.9593, allocations: 51.91 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/0.9601, allocations: 499.4 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.9637, allocations: 3.779 MB / 1.225 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.9654, allocations: 0.636 MB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.9656, allocations: 182.4 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.9657, allocations: 11.94 kB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.9657, allocations: 34.56 kB / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.9657, allocations: 0 / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002386/0.9681, allocations: 1.281 MB / 1.227 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.9682, allocations: 106.8 kB / 1.227 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.9687, allocations: 397.8 kB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.9687, allocations: 33.69 kB / 1.228 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.9689, allocations: 283.4 kB / 1.228 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.969, allocations: 122.3 kB / 1.228 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.9692, allocations: 98.16 kB / 1.228 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.9693, allocations: 350.8 kB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.9696, allocations: 177 kB / 1.229 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.97, allocations: 379.2 kB / 1.229 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.9708, allocations: 0.5912 MB / 1.23 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.9708, allocations: 8.219 kB / 1.23 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001101/0.9719, allocations: 0.6716 MB / 1.23 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9719, allocations: 8 kB / 1.23 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.9719, allocations: 11.94 kB / 1.23 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/0.9723, allocations: 102.4 kB / 1.231 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.9727, allocations: 111.8 kB / 1.231 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.9764, allocations: 4.34 MB / 1.235 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.9768, allocations: 31.97 kB / 1.235 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.9769, allocations: 28.16 kB / 1.235 GB, free: 1.168 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002725/0.9771, allocations: 193.6 kB / 1.235 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.9773, allocations: 55.42 kB / 1.235 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.9782, allocations: 0.5069 MB / 1.236 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.9782, allocations: 8 kB / 1.236 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9783, allocations: 0 / 1.236 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.9783, allocations: 7.984 kB / 1.236 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.9802, allocations: 1.283 MB / 1.237 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.9803, allocations: 4 kB / 1.237 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.9805, allocations: 63.89 kB / 1.237 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.9808, allocations: 94.77 kB / 1.237 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.9808, allocations: 12 kB / 1.237 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.9845, allocations: 4.34 MB / 1.241 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.9845, allocations: 4 kB / 1.241 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.9856, allocations: 0.7751 MB / 1.242 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.9859, allocations: 152.5 kB / 1.242 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.9859, allocations: 11.94 kB / 1.242 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.9863, allocations: 23.97 kB / 1.242 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.9864, allocations: 39.84 kB / 1.242 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.9864, allocations: 15.98 kB / 1.242 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003636/0.9868, allocations: 279.1 kB / 1.243 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.994e-06/0.9868, allocations: 0 / 1.243 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007917/0.9876, allocations: 127.9 kB / 1.243 GB, free: 8.562 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002193/0.9878, allocations: 105.4 kB / 1.243 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.9893, allocations: 0.8058 MB / 1.244 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.9893, allocations: 4.312 kB / 1.244 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.9901, allocations: 0.5466 MB / 1.244 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.991, allocations: 133.2 kB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.9929, allocations: 0.9516 MB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.9935, allocations: 0.8586 MB / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.9937, allocations: 43.42 kB / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.9937, allocations: 0 / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of Templates: time 0.01852/1.012, allocations: 11.14 MB / 1.257 GB, free: 9.828 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches