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.00127/0.001271, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0014/0.0014, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.69/2.69, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7305, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005429/0.7359, allocations: 4.241 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.7412, allocations: 2.783 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.7416, allocations: 11.94 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.7429, allocations: 342.7 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.7442, allocations: 386.5 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.7455, allocations: 476 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000957/0.7465, allocations: 0.7009 MB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.7472, allocations: 383 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.7477, allocations: 267.1 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.7484, allocations: 362.7 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.7485, allocations: 36 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.7491, allocations: 343.3 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.7494, allocations: 191.5 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.7497, allocations: 250.7 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.7507, allocations: 0.7534 MB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7507, allocations: 0 / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7508, allocations: 4 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.7508, allocations: 0 / 1.028 GB, free: 7.211 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.001547/0.7523, allocations: 0.8146 MB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7524, allocations: 15.97 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.7538, allocations: 192 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.7543, allocations: 359.2 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.7543, allocations: 33.36 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.7544, allocations: 48.27 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.7558, allocations: 0.8488 MB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.7558, allocations: 7.938 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.7559, allocations: 16 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-05/0.756, allocations: 64.61 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.7573, allocations: 0.6688 MB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.7615, allocations: 4.67 MB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7626, allocations: 0.5054 MB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.7631, allocations: 277.5 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.7631, allocations: 11.92 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.7632, allocations: 38.56 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.7632, allocations: 0 / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.00189/0.7651, allocations: 0.8813 MB / 1.037 GB, free: 13.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.7652, allocations: 81.11 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.7656, allocations: 373.5 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.7656, allocations: 29.7 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.7658, allocations: 294.9 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.7659, allocations: 118.2 kB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.7661, allocations: 114.1 kB / 1.038 GB, free: 12.17 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7662, allocations: 354.7 kB / 1.038 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.7668, allocations: 266.9 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.7674, allocations: 490.5 kB / 1.039 GB, free: 10.97 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.7686, allocations: 0.7617 MB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7686, allocations: 4 kB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001482/0.7701, allocations: 0.7975 MB / 1.041 GB, free: 9.305 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.7702, allocations: 12.03 kB / 1.041 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7702, allocations: 4 kB / 1.041 GB, free: 9.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7702, allocations: 12 kB / 1.041 GB, free: 9.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.7709, allocations: 163.7 kB / 1.041 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.771, allocations: 15.92 kB / 1.041 GB, free: 9.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.7715, allocations: 75.77 kB / 1.041 GB, free: 9.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.7716, allocations: 31.98 kB / 1.041 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000611/0.7722, allocations: 357 kB / 1.041 GB, free: 8.641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006415/0.7729, allocations: 449.4 kB / 1.042 GB, free: 8.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/0.7741, allocations: 0.685 MB / 1.042 GB, free: 7.297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.247e-06/0.7741, allocations: 4 kB / 1.042 GB, free: 7.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001566/0.7757, allocations: 0.6916 MB / 1.043 GB, free: 6.598 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.7757, allocations: 17.97 kB / 1.043 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.7758, allocations: 11.94 kB / 1.043 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7758, allocations: 12 kB / 1.043 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.7764, allocations: 151.7 kB / 1.043 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.7764, allocations: 15.98 kB / 1.043 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.777, allocations: 63.73 kB / 1.043 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.777, allocations: 35.98 kB / 1.043 GB, free: 6.297 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.0002427/0.7773, allocations: 212 kB / 1.044 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.7774, allocations: 43.44 kB / 1.044 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.7786, allocations: 0.5728 MB / 1.044 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.7787, allocations: 4 kB / 1.044 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.7787, allocations: 0 / 1.044 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7787, allocations: 0 / 1.044 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.7814, allocations: 1.615 MB / 1.046 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7815, allocations: 4 kB / 1.046 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.782, allocations: 127.7 kB / 1.046 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.782, allocations: 4 kB / 1.046 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.7821, allocations: 8 kB / 1.046 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.7821, allocations: 8 kB / 1.046 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.7821, allocations: 8.312 kB / 1.046 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.7834, allocations: 0.7835 MB / 1.047 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.7836, allocations: 164.5 kB / 1.047 GB, free: 2.562 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.7837, allocations: 11.98 kB / 1.047 GB, free: 2.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.7842, allocations: 47.94 kB / 1.047 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7843, allocations: 39.84 kB / 1.047 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.7843, allocations: 12 kB / 1.047 GB, free: 2.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000524/0.7849, allocations: 271.1 kB / 1.047 GB, free: 2.191 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7849, allocations: 0 / 1.047 GB, free: 2.191 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001049/0.786, allocations: 196 kB / 1.047 GB, free: 2 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.0001988/0.7862, allocations: 111.2 kB / 1.048 GB, free: 1.879 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.7883, allocations: 0.9638 MB / 1.049 GB, free: 0.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7883, allocations: 0 / 1.049 GB, free: 0.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.7889, allocations: 268.7 kB / 1.049 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.7898, allocations: 135 kB / 1.049 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.7918, allocations: 1.205 MB / 1.05 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.7923, allocations: 0.8748 MB / 1.051 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007028/0.7931, allocations: 208.1 kB / 1.051 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.7933, allocations: 43.42 kB / 1.051 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of SimCode: time 3.8e-07/0.7933, allocations: 0 / 1.051 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.01208/0.8053, allocations: 6.378 MB / 1.057 GB, free: 7.766 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