Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001301/0.001301, 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.01147/0.01148, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.745/2.745, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003655, allocations: 12 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8223, allocations: 153.8 MB / 1.023 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004583/0.8269, allocations: 3.863 MB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.8314, allocations: 2.775 MB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.8317, allocations: 7.938 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.8319, allocations: 67.42 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009447/0.8329, allocations: 386.5 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.834, allocations: 475.1 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.8352, allocations: 0.9817 MB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009723/0.8361, allocations: 0.5433 MB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.8365, allocations: 211.1 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.8371, allocations: 338.7 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.8372, allocations: 20 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.8379, allocations: 419.1 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.8381, allocations: 179.5 kB / 1.033 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.8384, allocations: 244.4 kB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.8392, allocations: 0.7337 MB / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8392, allocations: 0 / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8392, allocations: 0 / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8392, allocations: 0 / 1.034 GB, free: 4.738 MB / 0.7794 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.0012/0.8404, allocations: 0.7251 MB / 1.035 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8405, allocations: 12.03 kB / 1.035 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.8418, allocations: 196 kB / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.8423, allocations: 359.2 kB / 1.035 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.8423, allocations: 33.36 kB / 1.035 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.8424, allocations: 40.38 kB / 1.035 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.8438, allocations: 0.8488 MB / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.8438, allocations: 11.84 kB / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.8439, allocations: 23.98 kB / 1.036 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/0.844, allocations: 64.61 kB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.8454, allocations: 0.6853 MB / 1.037 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.8497, allocations: 4.674 MB / 1.041 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.8509, allocations: 0.517 MB / 1.042 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.8514, allocations: 293.5 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.8515, allocations: 8 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8515, allocations: 34.5 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.8515, allocations: 0 / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.002267/0.8538, allocations: 0.9125 MB / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.8539, allocations: 81.11 kB / 1.043 GB, free: 10.64 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.8543, allocations: 381.5 kB / 1.044 GB, free: 10.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.8544, allocations: 29.7 kB / 1.044 GB, free: 10.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.8546, allocations: 287 kB / 1.044 GB, free: 9.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.8547, allocations: 122.3 kB / 1.044 GB, free: 9.824 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.8548, allocations: 49.69 kB / 1.044 GB, free: 9.77 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8549, allocations: 354.7 kB / 1.044 GB, free: 9.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.8555, allocations: 272.9 kB / 1.045 GB, free: 9.148 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007503/0.8563, allocations: 494.5 kB / 1.045 GB, free: 8.562 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.8577, allocations: 0.7928 MB / 1.046 GB, free: 7.672 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8577, allocations: 0 / 1.046 GB, free: 7.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001638/0.8593, allocations: 0.8094 MB / 1.047 GB, free: 6.855 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.8596, allocations: 299.6 kB / 1.047 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.8596, allocations: 8 kB / 1.047 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.8596, allocations: 15.97 kB / 1.047 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.8604, allocations: 175.7 kB / 1.047 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.8604, allocations: 23.86 kB / 1.047 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.861, allocations: 83.7 kB / 1.047 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.8611, allocations: 24 kB / 1.047 GB, free: 6.137 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.8611, allocations: 4 kB / 1.047 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001298/0.8624, allocations: 0.6399 MB / 1.048 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8625, allocations: 8 kB / 1.048 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.8625, allocations: 8 kB / 1.048 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.8631, allocations: 160.4 kB / 1.048 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.8631, allocations: 15.94 kB / 1.048 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.8636, allocations: 67.69 kB / 1.048 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.8636, allocations: 24 kB / 1.048 GB, free: 5.215 MB / 0.795 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.0003462/0.864, allocations: 288.8 kB / 1.048 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/0.8641, allocations: 39.53 kB / 1.049 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.8653, allocations: 0.5884 MB / 1.049 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8653, allocations: 4 kB / 1.049 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8654, allocations: 7.938 kB / 1.049 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.8654, allocations: 3.984 kB / 1.049 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.8679, allocations: 1.638 MB / 1.051 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.868, allocations: 7.938 kB / 1.051 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.8685, allocations: 111.8 kB / 1.051 GB, free: 2.414 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.8685, allocations: 4 kB / 1.051 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.8686, allocations: 12 kB / 1.051 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.8686, allocations: 4.375 kB / 1.051 GB, free: 2.395 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8686, allocations: 11.94 kB / 1.051 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.8698, allocations: 0.8073 MB / 1.052 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.87, allocations: 172.5 kB / 1.052 GB, free: 1.324 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.8701, allocations: 16 kB / 1.052 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.8706, allocations: 55.92 kB / 1.052 GB, free: 1.254 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.8707, allocations: 35.84 kB / 1.052 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.8707, allocations: 16 kB / 1.052 GB, free: 1.203 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003645/0.8711, allocations: 267.1 kB / 1.052 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8711, allocations: 0 / 1.052 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009056/0.872, allocations: 192 kB / 1.052 GB, free: 0.7617 MB / 0.795 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.0001491/0.8722, allocations: 115.2 kB / 1.052 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.8741, allocations: 0.9566 MB / 1.053 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.8741, allocations: 4.062 kB / 1.053 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.8746, allocations: 278.1 kB / 1.054 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.8756, allocations: 122.5 kB / 1.054 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.8771, allocations: 1.225 MB / 1.055 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.8776, allocations: 0.8826 MB / 1.056 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006259/0.8782, allocations: 208 kB / 1.056 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.8784, allocations: 35.42 kB / 1.056 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of SimCode: time 4.4e-07/0.8784, allocations: 4 kB / 1.056 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.01071/0.8891, allocations: 6.066 MB / 1.062 GB, free: 6.812 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches