Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001119/0.001119, allocations: 115.2 kB / 16.43 MB, free: 6.523 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.001061/0.001061, allocations: 184.2 kB / 17.36 MB, free: 5.746 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.15/1.15, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.209/2.209, allocations: 469.8 MB / 0.7431 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.503e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00301/0.003032, allocations: 2.654 MB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004666, allocations: 1.317 MB / 1.07 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.004742, allocations: 3.938 kB / 1.07 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.005273, allocations: 174.7 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.005569, allocations: 171.3 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.005855, allocations: 163.6 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.006152, allocations: 291.1 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.006361, allocations: 109.5 kB / 1.071 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.006497, allocations: 99.61 kB / 1.071 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.006674, allocations: 111.6 kB / 1.071 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.006707, allocations: 12 kB / 1.071 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.006886, allocations: 131.7 kB / 1.071 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001877/0.007081, allocations: 285 kB / 1.071 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.627e-05/0.007182, allocations: 181.6 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.007217, allocations: 23.94 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.328e-05/0.007236, allocations: 4 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 (33) * Number of variables: 41 (28) Notification: Performance of Bindings: time 0.0006083/0.007848, allocations: 0.6962 MB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 3.931e-05/0.007894, allocations: 43.89 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004365/0.008335, allocations: 475.3 kB / 1.073 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simplify1: time 9.249e-05/0.008435, allocations: 103.7 kB / 1.073 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004857/0.008927, allocations: 444.3 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simplify2: time 7.652e-05/0.009013, allocations: 84.36 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001139/0.009132, allocations: 117.1 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of Events: time 0.0001172/0.009256, allocations: 79.78 kB / 1.073 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001524/0.009415, allocations: 156.8 kB / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009219/0.01034, allocations: 0.9126 MB / 1.074 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003138/0.01067, allocations: 368 kB / 1.075 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005355/0.01121, allocations: 0.6252 MB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.747e-05/0.01123, allocations: 16.12 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001256/0.01136, allocations: 167.8 kB / 1.076 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001686/0.01306, allocations: 1.651 MB / 1.077 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of Tearing: time 8.776e-06/0.01307, allocations: 0 / 1.077 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of Initialization: time 2.81e-07/0.01308, allocations: 0 / 1.077 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of Tearing: time 4.428e-06/0.01309, allocations: 7.938 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of Categorize: time 9.077e-06/0.0131, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of Solve: time 0.000255/0.01336, allocations: 165.6 kB / 1.077 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.675e-06/0.01337, allocations: 4 kB / 1.077 GB, free: 1.41 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:20, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:21, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:21, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.693e-05/0.01342, allocations: 49.3 kB / 1.077 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of SimCode: time 0.375/0.3884, allocations: 1.545 MB / 1.079 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.005519/0.394, allocations: 3.022 MB / 1.082 GB, free: 16.12 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,R.i[1],R.i[2],R1.i[1],R1.i[2],source.S[1],source.S[2] Variables in the result:R.P_nominal,R.V_nominal,R.i[1],R.i[2],R.initMode,R.linearized,R.load,R.mode,R.y_internal,R1.P,R1.P_internal,R1.P_nominal,R1.V_nominal,R1.i[1],R1.i[2],R1.initMode,R1.linearized,R1.load,R1.mode,R1.y_internal,load.duration,load.height,load.offset,load.startTime,source.S[1],source.S[2],source.V,source.definiteReference,source.f,source.phiSou,source.potentialReference,source.thetaRel,time