Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009458/0.009458, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.927/2.927, allocations: 470.6 MB / 0.7442 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004008, allocations: 10 kB / 0.9123 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3841, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005226/0.3894, allocations: 3.86 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004699/0.3941, allocations: 2.774 MB / 1.076 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.3943, allocations: 7.938 kB / 1.076 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3946, allocations: 71.36 kB / 1.076 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009613/0.3956, allocations: 382.5 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3968, allocations: 486.1 kB / 1.077 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.398, allocations: 0.9856 MB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009812/0.399, allocations: 0.5355 MB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.3993, allocations: 211.1 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.3999, allocations: 334.8 kB / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.4, allocations: 20 kB / 1.079 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.4007, allocations: 423.1 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.4009, allocations: 175.5 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.4012, allocations: 248.4 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/0.402, allocations: 0.732 MB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.402, allocations: 3.938 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4021, allocations: 0 / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4021, allocations: 4 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001387/0.4035, allocations: 0.7135 MB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4035, allocations: 12.03 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.4049, allocations: 192 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.4054, allocations: 367 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.4054, allocations: 37.34 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.4055, allocations: 44.3 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.407, allocations: 0.8566 MB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.407, allocations: 0 / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.4071, allocations: 16 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/0.4072, allocations: 64.61 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.4086, allocations: 0.6892 MB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.4135, allocations: 4.67 MB / 1.088 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.4147, allocations: 0.5088 MB / 1.089 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.4153, allocations: 293.5 kB / 1.089 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.4154, allocations: 11.98 kB / 1.089 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4154, allocations: 34.56 kB / 1.089 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.4154, allocations: 0 / 1.089 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.002108/0.4175, allocations: 0.9203 MB / 1.09 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.4176, allocations: 85.09 kB / 1.09 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.4181, allocations: 369.5 kB / 1.09 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.4181, allocations: 33.7 kB / 1.09 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4184, allocations: 290.9 kB / 1.091 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4185, allocations: 114.3 kB / 1.091 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.4186, allocations: 61.62 kB / 1.091 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4188, allocations: 354.7 kB / 1.091 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.4194, allocations: 272.9 kB / 1.092 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.4202, allocations: 498.5 kB / 1.092 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.4216, allocations: 0.7885 MB / 1.093 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4216, allocations: 4 kB / 1.093 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001622/0.4233, allocations: 0.8054 MB / 1.094 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.4235, allocations: 295.9 kB / 1.094 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4235, allocations: 19.94 kB / 1.094 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.4236, allocations: 12 kB / 1.094 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.4243, allocations: 163.7 kB / 1.094 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/0.4244, allocations: 23.86 kB / 1.094 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.425, allocations: 83.67 kB / 1.094 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.4251, allocations: 31.98 kB / 1.094 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.4251, allocations: 1.562 kB / 1.094 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/0.4264, allocations: 0.6404 MB / 1.095 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4264, allocations: 12.03 kB / 1.095 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4264, allocations: 12 kB / 1.095 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.427, allocations: 147.8 kB / 1.095 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.4271, allocations: 19.92 kB / 1.095 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.4275, allocations: 67.8 kB / 1.095 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.4276, allocations: 24 kB / 1.095 GB, free: 0.582 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0003232/0.4279, allocations: 280.8 kB / 1.095 GB, free: 304 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.428, allocations: 39.53 kB / 1.095 GB, free: 264 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.4293, allocations: 0.6068 MB / 1.096 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4293, allocations: 4 kB / 1.096 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4293, allocations: 0 / 1.096 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.4293, allocations: 3.984 kB / 1.096 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.4321, allocations: 1.634 MB / 1.098 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.4321, allocations: 4 kB / 1.098 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.4326, allocations: 120.3 kB / 1.098 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.4327, allocations: 8 kB / 1.098 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4327, allocations: 8 kB / 1.098 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.4327, allocations: 4 kB / 1.098 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4327, allocations: 7.938 kB / 1.098 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.4339, allocations: 0.8035 MB / 1.098 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.4341, allocations: 172.4 kB / 1.099 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.4342, allocations: 8 kB / 1.099 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.4347, allocations: 59.92 kB / 1.099 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4348, allocations: 35.84 kB / 1.099 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.4348, allocations: 12 kB / 1.099 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003859/0.4352, allocations: 275.1 kB / 1.099 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4352, allocations: 7.938 kB / 1.099 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008731/0.4361, allocations: 192 kB / 1.099 GB, free: 12.12 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001699/0.4363, allocations: 115.1 kB / 1.099 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.4383, allocations: 0.9565 MB / 1.1 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4383, allocations: 0 / 1.1 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.4388, allocations: 290.2 kB / 1.101 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4398, allocations: 107 kB / 1.101 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4417, allocations: 1.224 MB / 1.102 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.4423, allocations: 0.8673 MB / 1.103 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006695/0.4429, allocations: 211.9 kB / 1.103 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.4432, allocations: 43.42 kB / 1.103 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.4432, allocations: 0 / 1.103 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.01212/0.4553, allocations: 6.072 MB / 1.109 GB, free: 2.184 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches