Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 165.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.884/2.884, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.725e-05, allocations: 2.281 kB / 1 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004748/0.004775, allocations: 2.625 MB / 1.003 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.007375, allocations: 1.289 MB / 1.004 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.007512, allocations: 4 kB / 1.004 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008095/0.008321, allocations: 179.2 kB / 1.004 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.00882, allocations: 171 kB / 1.004 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.009272, allocations: 171.5 kB / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.00976, allocations: 279.1 kB / 1.005 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.0101, allocations: 117.6 kB / 1.005 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.01045, allocations: 151.6 kB / 1.005 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.01077, allocations: 127.7 kB / 1.005 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.01082, allocations: 12 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.01111, allocations: 135.6 kB / 1.005 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.01122, allocations: 75.8 kB / 1.005 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.01134, allocations: 71.83 kB / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.01184, allocations: 311.1 kB / 1.006 GB, free: 496 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.01185, allocations: 11.88 kB / 1.006 GB, free: 484 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01185, allocations: 0 / 1.006 GB, free: 484 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.01186, allocations: 0 / 1.006 GB, free: 484 kB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009693/0.01283, allocations: 429.5 kB / 1.006 GB, free: 20 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01287, allocations: 12.03 kB / 1.006 GB, free: 8 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.01345, allocations: 64.83 kB / 1.006 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.01381, allocations: 192.8 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.01383, allocations: 12.66 kB / 1.006 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.01387, allocations: 12.38 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.01455, allocations: 368.5 kB / 1.007 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01457, allocations: 4.125 kB / 1.007 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.0146, allocations: 12.36 kB / 1.007 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.01465, allocations: 24.2 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.01525, allocations: 268.5 kB / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.01695, allocations: 1.092 MB / 1.008 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.01753, allocations: 245 kB / 1.008 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.01782, allocations: 121.6 kB / 1.008 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.01784, allocations: 4 kB / 1.008 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.01787, allocations: 38.56 kB / 1.008 GB, free: 13.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.01787, allocations: 0 / 1.008 GB, free: 13.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0008969/0.01877, allocations: 339.8 kB / 1.009 GB, free: 13.1 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.01883, allocations: 81.11 kB / 1.009 GB, free: 13 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.01903, allocations: 174.9 kB / 1.009 GB, free: 12.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.01906, allocations: 29.83 kB / 1.009 GB, free: 12.79 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01917, allocations: 148.2 kB / 1.009 GB, free: 12.64 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.01924, allocations: 55.53 kB / 1.009 GB, free: 12.58 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.01933, allocations: 45.66 kB / 1.009 GB, free: 12.53 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.01951, allocations: 322.8 kB / 1.01 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.01978, allocations: 120.6 kB / 1.01 GB, free: 12.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.02011, allocations: 197.3 kB / 1.01 GB, free: 11.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.02067, allocations: 286.7 kB / 1.01 GB, free: 11.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02068, allocations: 0 / 1.01 GB, free: 11.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006946/0.02137, allocations: 328.2 kB / 1.01 GB, free: 11.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02139, allocations: 4 kB / 1.01 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.02141, allocations: 4 kB / 1.011 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.02143, allocations: 0 / 1.011 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.02176, allocations: 59.88 kB / 1.011 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.02178, allocations: 4 kB / 1.011 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.022, allocations: 39.81 kB / 1.011 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.02202, allocations: 4 kB / 1.011 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003345/0.02236, allocations: 204.9 kB / 1.011 GB, free: 10.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002915/0.02265, allocations: 181.2 kB / 1.011 GB, free: 10.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005078/0.02316, allocations: 266.7 kB / 1.011 GB, free: 10.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.02316, allocations: 0 / 1.011 GB, free: 10.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006111/0.02377, allocations: 289.2 kB / 1.012 GB, free: 10.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.02378, allocations: 7.984 kB / 1.012 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.02379, allocations: 4 kB / 1.012 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.02379, allocations: 0 / 1.012 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.02406, allocations: 60.06 kB / 1.012 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.02407, allocations: 3.984 kB / 1.012 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.02427, allocations: 27.88 kB / 1.012 GB, free: 10.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.02429, allocations: 8 kB / 1.012 GB, free: 10.02 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.000163/0.02445, allocations: 192.2 kB / 1.012 GB, free: 9.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.02453, allocations: 23.83 kB / 1.012 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.02516, allocations: 265.5 kB / 1.012 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02516, allocations: 4 kB / 1.012 GB, free: 9.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.02517, allocations: 4 kB / 1.012 GB, free: 9.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02517, allocations: 0 / 1.012 GB, free: 9.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.02636, allocations: 0.5987 MB / 1.013 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02636, allocations: 0 / 1.013 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.02663, allocations: 51.89 kB / 1.013 GB, free: 8.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.02663, allocations: 0 / 1.013 GB, free: 8.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.02665, allocations: 8.109 kB / 1.013 GB, free: 8.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.02666, allocations: 8 kB / 1.013 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.02666, allocations: 3.984 kB / 1.013 GB, free: 8.816 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.02734, allocations: 441.9 kB / 1.013 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.02744, allocations: 43.81 kB / 1.013 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.02748, allocations: 0 / 1.013 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.0277, allocations: 23.97 kB / 1.013 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.02778, allocations: 15.92 kB / 1.013 GB, free: 8.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02779, allocations: 8 kB / 1.013 GB, free: 8.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001339/0.02793, allocations: 132.3 kB / 1.013 GB, free: 8.137 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02793, allocations: 0 / 1.013 GB, free: 8.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005162/0.02844, allocations: 91.78 kB / 1.013 GB, free: 8.047 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001486/0.02859, allocations: 99.25 kB / 1.014 GB, free: 7.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000862/0.02945, allocations: 368 kB / 1.014 GB, free: 7.578 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.02946, allocations: 0 / 1.014 GB, free: 7.578 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.02971, allocations: 107.9 kB / 1.014 GB, free: 7.473 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.03022, allocations: 33.66 kB / 1.014 GB, free: 7.441 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.03109, allocations: 435 kB / 1.014 GB, free: 6.977 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.03128, allocations: 135.9 kB / 1.015 GB, free: 6.824 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.03148, allocations: 69.42 kB / 1.015 GB, free: 6.758 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.03158, allocations: 24.48 kB / 1.015 GB, free: 6.734 MB / 0.92 GB Notification: Performance of SimCode: time 5.81e-07/0.03158, allocations: 0 / 1.015 GB, free: 6.734 MB / 0.92 GB Notification: Performance of Templates: time 0.006915/0.03849, allocations: 2.501 MB / 1.017 GB, free: 4.27 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.293353158980608]