Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.009321/0.009322, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001667/0.001667, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.614/1.614, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006172/1.096, allocations: 4.208 MB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005392/1.101, allocations: 2.796 MB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/1.102, allocations: 11.53 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/1.103, allocations: 371.8 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/1.104, allocations: 419.1 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/1.106, allocations: 0.5047 MB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001128/1.107, allocations: 0.6945 MB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/1.108, allocations: 347.7 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000499/1.108, allocations: 272.2 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/1.109, allocations: 341.1 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.096e-05/1.109, allocations: 38.12 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/1.11, allocations: 337.5 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/1.11, allocations: 198.2 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003139/1.111, allocations: 256 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.112, allocations: 0.7386 MB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.112, allocations: 0 / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.435e-06/1.112, allocations: 1.281 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.112, allocations: 4 kB / 1.099 GB, free: 14.79 MB / 0.8731 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.001676/1.114, allocations: 0.8309 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.114, allocations: 13.75 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/1.115, allocations: 196.3 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/1.116, allocations: 369.3 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/1.116, allocations: 37.89 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.116, allocations: 40.03 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.117, allocations: 0.8411 MB / 1.101 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/1.117, allocations: 11.23 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/1.117, allocations: 23.45 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/1.118, allocations: 66.84 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/1.119, allocations: 0.6629 MB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/1.124, allocations: 4.66 MB / 1.107 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/1.125, allocations: 0.5048 MB / 1.107 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/1.126, allocations: 277.4 kB / 1.107 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/1.126, allocations: 15.41 kB / 1.107 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.126, allocations: 33.7 kB / 1.107 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.717e-06/1.126, allocations: 5.125 kB / 1.107 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.002086/1.128, allocations: 0.8924 MB / 1.108 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.128, allocations: 86.06 kB / 1.108 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/1.129, allocations: 372.4 kB / 1.109 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/1.129, allocations: 31.98 kB / 1.109 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/1.129, allocations: 295.2 kB / 1.109 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.129, allocations: 125.6 kB / 1.109 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/1.129, allocations: 115.6 kB / 1.109 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.129, allocations: 352.4 kB / 1.11 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/1.13, allocations: 271.7 kB / 1.11 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008884/1.131, allocations: 486 kB / 1.11 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.132, allocations: 0.7632 MB / 1.111 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.132, allocations: 2.719 kB / 1.111 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001641/1.134, allocations: 0.8007 MB / 1.112 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.134, allocations: 8.188 kB / 1.112 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.134, allocations: 7.531 kB / 1.112 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.134, allocations: 11.06 kB / 1.112 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/1.135, allocations: 167.5 kB / 1.112 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/1.135, allocations: 15.48 kB / 1.112 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/1.135, allocations: 77.23 kB / 1.112 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/1.136, allocations: 27.81 kB / 1.112 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007125/1.136, allocations: 356.1 kB / 1.113 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007535/1.137, allocations: 452.5 kB / 1.113 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/1.138, allocations: 0.6794 MB / 1.114 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/1.138, allocations: 6.781 kB / 1.114 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001491/1.14, allocations: 0.6845 MB / 1.114 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.14, allocations: 9.781 kB / 1.114 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.14, allocations: 11.31 kB / 1.114 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.14, allocations: 15.98 kB / 1.114 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/1.14, allocations: 147.2 kB / 1.115 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/1.14, allocations: 16.91 kB / 1.115 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/1.141, allocations: 63.84 kB / 1.115 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/1.141, allocations: 28.27 kB / 1.115 GB, free: 4.551 MB / 0.8731 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.0002426/1.141, allocations: 226.6 kB / 1.115 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.141, allocations: 43.47 kB / 1.115 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/1.143, allocations: 0.5791 MB / 1.115 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.143, allocations: 4.844 kB / 1.115 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.143, allocations: 0 / 1.115 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/1.143, allocations: 3.469 kB / 1.115 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/1.146, allocations: 1.608 MB / 1.117 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.146, allocations: 3.406 kB / 1.117 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/1.146, allocations: 114.8 kB / 1.117 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/1.146, allocations: 8.844 kB / 1.117 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/1.146, allocations: 11.3 kB / 1.117 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.146, allocations: 10.78 kB / 1.117 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.146, allocations: 8.156 kB / 1.117 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/1.148, allocations: 0.784 MB / 1.118 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/1.148, allocations: 169.6 kB / 1.118 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/1.148, allocations: 11.3 kB / 1.118 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/1.149, allocations: 48.73 kB / 1.118 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/1.149, allocations: 37.44 kB / 1.118 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.149, allocations: 16.12 kB / 1.118 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004246/1.149, allocations: 269.8 kB / 1.118 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.149, allocations: 0 / 1.118 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001083/1.15, allocations: 194.6 kB / 1.119 GB, free: 2.41 MB / 0.8731 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.0001727/1.15, allocations: 124.5 kB / 1.119 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.152, allocations: 0.9372 MB / 1.12 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.153, allocations: 1.188 kB / 1.12 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/1.153, allocations: 271.9 kB / 1.12 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008902/1.154, allocations: 134.7 kB / 1.12 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/1.156, allocations: 1.013 MB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/1.156, allocations: 0.8708 MB / 1.122 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006575/1.157, allocations: 203.4 kB / 1.122 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/1.157, allocations: 41.39 kB / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of SimCode: time 2.215e-06/1.157, allocations: 0 / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of Templates: time 0.01551/1.173, allocations: 6.606 MB / 1.129 GB, free: 144 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches