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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007447/0.007447, allocations: 99.59 kB / 15.73 MB, free: 6.043 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.001768/0.001768, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 60.12 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8369, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004179/0.8411, allocations: 2.655 MB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.8434, allocations: 1.309 MB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.8435, allocations: 7.938 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.8442, allocations: 175.3 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.8446, allocations: 171.2 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.845, allocations: 167.6 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.8454, allocations: 251.2 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.8457, allocations: 141.5 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.8459, allocations: 107.6 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.8462, allocations: 131.5 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.8463, allocations: 16 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.8466, allocations: 147.7 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.8467, allocations: 63.81 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.8468, allocations: 95.52 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.8472, allocations: 284.9 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.8472, allocations: 0 / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8472, allocations: 0 / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8472, allocations: 0 / 1.213 GB, free: 7.961 MB / 0.9356 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.0008003/0.848, allocations: 0.4988 MB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.848, allocations: 16.03 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.8485, allocations: 60.67 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.8489, allocations: 250.2 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.8489, allocations: 12.64 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.849, allocations: 20.36 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.8495, allocations: 308.7 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.8495, allocations: 0 / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.8496, allocations: 4 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.8496, allocations: 32.25 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.8501, allocations: 256.5 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.8518, allocations: 1.502 MB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.8523, allocations: 253.1 kB / 1.216 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.8526, allocations: 133.6 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.8526, allocations: 7.938 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8526, allocations: 30.56 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.8526, allocations: 0 / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007053/0.8533, allocations: 346.7 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.8534, allocations: 81.23 kB / 1.217 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.8535, allocations: 183.1 kB / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.8536, allocations: 25.7 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.8536, allocations: 144 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.8537, allocations: 51.27 kB / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.8538, allocations: 41.7 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8539, allocations: 334.7 kB / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.8541, allocations: 108.8 kB / 1.218 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.8544, allocations: 167.6 kB / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.8549, allocations: 281.6 kB / 1.218 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.8549, allocations: 0 / 1.218 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005703/0.8554, allocations: 309.2 kB / 1.219 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8555, allocations: 10.34 kB / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8555, allocations: 0 / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.8555, allocations: 4 kB / 1.219 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.8558, allocations: 59.89 kB / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8558, allocations: 8.219 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.856, allocations: 27.81 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.856, allocations: 12 kB / 1.219 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002481/0.8563, allocations: 188 kB / 1.219 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002092/0.8565, allocations: 170.3 kB / 1.219 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000373/0.8569, allocations: 249.8 kB / 1.219 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/0.8569, allocations: 0 / 1.219 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004854/0.8574, allocations: 281.3 kB / 1.219 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.8574, allocations: 4 kB / 1.219 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8574, allocations: 7.938 kB / 1.219 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.8574, allocations: 4 kB / 1.219 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.8577, allocations: 51.95 kB / 1.22 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8577, allocations: 7.938 kB / 1.22 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.8578, allocations: 23.83 kB / 1.22 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.8579, allocations: 8 kB / 1.22 GB, free: 1.004 MB / 0.9356 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.0001377/0.858, allocations: 192.3 kB / 1.22 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.8581, allocations: 19.8 kB / 1.22 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.8586, allocations: 272.2 kB / 1.22 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8586, allocations: 0 / 1.22 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8586, allocations: 4 kB / 1.22 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8586, allocations: 3.984 kB / 1.22 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.8597, allocations: 0.681 MB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8597, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.8599, allocations: 43.95 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.86, allocations: 4 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.86, allocations: 7.875 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.86, allocations: 15.92 kB / 1.221 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.86, allocations: 4.125 kB / 1.221 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.8606, allocations: 453.8 kB / 1.221 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.8607, allocations: 108.9 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.8607, allocations: 11.88 kB / 1.221 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.8609, allocations: 19.97 kB / 1.221 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.861, allocations: 11.98 kB / 1.221 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.861, allocations: 8 kB / 1.221 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001044/0.8611, allocations: 131.2 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8611, allocations: 0 / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004791/0.8616, allocations: 87.84 kB / 1.222 GB, free: 14.82 MB / 0.9512 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.0001168/0.8617, allocations: 107.1 kB / 1.222 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007214/0.8625, allocations: 375.5 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8625, allocations: 0 / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.8627, allocations: 115.8 kB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.8632, allocations: 45.33 kB / 1.222 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007845/0.864, allocations: 450.5 kB / 1.223 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.8644, allocations: 0.744 MB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.8646, allocations: 73.47 kB / 1.223 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.8646, allocations: 27.44 kB / 1.223 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8646, allocations: 0 / 1.223 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.005488/0.8701, allocations: 2.331 MB / 1.226 GB, free: 10.52 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) 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) Reference file matches