Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001815/0.001815, allocations: 188 kB / 17.34 MB, free: 5.738 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.56/1.56, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.783/2.783, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9512/0.9532, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.00682/0.9601, allocations: 4.16 MB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.9658, allocations: 2.354 MB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.9663, allocations: 11.94 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.9683, allocations: 0.5486 MB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.9694, allocations: 294.6 kB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.9708, allocations: 344.3 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.9717, allocations: 0.5684 MB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.9725, allocations: 367.3 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.9729, allocations: 231.2 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/0.9735, allocations: 286.9 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.9736, allocations: 36 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.9743, allocations: 283.5 kB / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.9746, allocations: 175.6 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.9748, allocations: 211 kB / 1.177 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.9759, allocations: 0.6703 MB / 1.178 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.9759, allocations: 0 / 1.178 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.556e-06/0.9759, allocations: 0 / 1.178 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.9759, allocations: 0 / 1.178 GB, free: 9.281 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00161/0.9775, allocations: 0.7324 MB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.9776, allocations: 8.031 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.9789, allocations: 164.5 kB / 1.178 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.9796, allocations: 328.6 kB / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.9797, allocations: 25.38 kB / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/0.9798, allocations: 44.3 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.981, allocations: 0.638 MB / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.9811, allocations: 0 / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.9811, allocations: 16 kB / 1.179 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.9813, allocations: 40.62 kB / 1.179 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.9823, allocations: 0.4903 MB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.987, allocations: 3.429 MB / 1.183 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.9879, allocations: 373 kB / 1.184 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.9882, allocations: 173.6 kB / 1.184 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.9883, allocations: 4 kB / 1.184 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.9883, allocations: 34.56 kB / 1.184 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 3.176e-06/0.9883, allocations: 8 kB / 1.184 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.00516/0.9935, allocations: 1.455 MB / 1.185 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.9936, allocations: 89.09 kB / 1.185 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.9941, allocations: 336.4 kB / 1.186 GB, free: 396 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.9942, allocations: 29.7 kB / 1.186 GB, free: 360 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.9944, allocations: 268 kB / 1.186 GB, free: 84 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.9945, allocations: 95.41 kB / 1.186 GB, free: 15.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.9947, allocations: 98.14 kB / 1.186 GB, free: 15.88 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9948, allocations: 338.8 kB / 1.187 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.9952, allocations: 202.9 kB / 1.187 GB, free: 15.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.9957, allocations: 342.1 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.9965, allocations: 0.544 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.9965, allocations: 4 kB / 1.188 GB, free: 14.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002435/0.9989, allocations: 0.9244 MB / 1.188 GB, free: 13.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.999, allocations: 8 kB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.999, allocations: 7.938 kB / 1.188 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/1.001, allocations: 0.4973 MB / 1.189 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/1.002, allocations: 95.88 kB / 1.189 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/1.008, allocations: 4.062 MB / 1.193 GB, free: 8.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.009, allocations: 51.91 kB / 1.193 GB, free: 8.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/1.009, allocations: 20 kB / 1.193 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005064/1.009, allocations: 309.1 kB / 1.193 GB, free: 8.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004477/1.01, allocations: 327.8 kB / 1.194 GB, free: 7.648 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007274/1.01, allocations: 0.5179 MB / 1.194 GB, free: 7.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/1.01, allocations: 0 / 1.194 GB, free: 7.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009403/1.011, allocations: 0.5361 MB / 1.195 GB, free: 6.508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.011, allocations: 8 kB / 1.195 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.011, allocations: 12 kB / 1.195 GB, free: 6.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.011, allocations: 15.92 kB / 1.195 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/1.012, allocations: 108.3 kB / 1.195 GB, free: 6.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.012, allocations: 15.98 kB / 1.195 GB, free: 6.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/1.012, allocations: 43.86 kB / 1.195 GB, free: 6.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/1.012, allocations: 23.94 kB / 1.195 GB, free: 6.285 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001967/1.012, allocations: 208.7 kB / 1.195 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/1.013, allocations: 39.7 kB / 1.195 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/1.014, allocations: 0.6717 MB / 1.196 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.014, allocations: 0 / 1.196 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.014, allocations: 4 kB / 1.196 GB, free: 5.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.014, allocations: 0 / 1.196 GB, free: 5.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/1.015, allocations: 0.656 MB / 1.196 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.015, allocations: 8.031 kB / 1.196 GB, free: 4.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/1.016, allocations: 43.91 kB / 1.197 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/1.017, allocations: 397.2 kB / 1.197 GB, free: 4.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/1.017, allocations: 4 kB / 1.197 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/1.022, allocations: 3.77 MB / 1.201 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.022, allocations: 0 / 1.201 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/1.024, allocations: 0.8302 MB / 1.201 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/1.024, allocations: 152.7 kB / 1.202 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/1.024, allocations: 4 kB / 1.202 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/1.024, allocations: 47.86 kB / 1.202 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/1.024, allocations: 19.92 kB / 1.202 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/1.024, allocations: 15.98 kB / 1.202 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000323/1.025, allocations: 239 kB / 1.202 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.025, allocations: 0 / 1.202 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009427/1.026, allocations: 196 kB / 1.202 GB, free: 14.59 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/1.026, allocations: 113.1 kB / 1.202 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001897/1.028, allocations: 0.9822 MB / 1.203 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.028, allocations: 1.625 kB / 1.203 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000759/1.029, allocations: 489.2 kB / 1.204 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/1.029, allocations: 75.86 kB / 1.204 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/1.031, allocations: 0.7606 MB / 1.204 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/1.031, allocations: 0.847 MB / 1.205 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000395/1.032, allocations: 135.1 kB / 1.205 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/1.032, allocations: 31.42 kB / 1.205 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/1.032, allocations: 3.938 kB / 1.205 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.01376/1.046, allocations: 7.495 MB / 1.213 GB, free: 3.586 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches