Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_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_latest_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.001092/0.001092, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00181/0.001811, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.943/2.943, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 9.156 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.362, allocations: 159.6 MB / 1.058 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.00459/0.3667, allocations: 3.649 MB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003333/0.37, allocations: 2.066 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.3703, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3705, allocations: 63.48 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.3711, allocations: 215 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.3718, allocations: 271.4 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.3724, allocations: 0.6503 MB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.3736, allocations: 0.6047 MB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.3739, allocations: 179.3 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.3745, allocations: 263.1 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.3745, allocations: 20 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.3749, allocations: 143.8 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.3751, allocations: 151.6 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3752, allocations: 101.5 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.3759, allocations: 491 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3759, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3759, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3759, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 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.001257/0.3772, allocations: 0.6355 MB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3772, allocations: 8.031 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.3783, allocations: 139.3 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.3787, allocations: 323.1 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3788, allocations: 29 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.3788, allocations: 43.91 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3799, allocations: 0.6182 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3799, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.3799, allocations: 20 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.141e-05/0.38, allocations: 40.62 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.3809, allocations: 477 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.3853, allocations: 3.436 MB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.3861, allocations: 367.7 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.3864, allocations: 173.6 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.3865, allocations: 7.938 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.3865, allocations: 42.56 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.505e-06/0.3865, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.004478/0.391, allocations: 1.461 MB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.3911, allocations: 81.11 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.3915, allocations: 324.4 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3915, allocations: 33.64 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3917, allocations: 263.3 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.3918, allocations: 90.73 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.3918, allocations: 8 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.392, allocations: 346.8 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3922, allocations: 177 kB / 1.076 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.3926, allocations: 334.1 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.393, allocations: 232.4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.393, allocations: 0 / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002117/0.3951, allocations: 0.9042 MB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.3953, allocations: 253.1 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3953, allocations: 8 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.3973, allocations: 0.5088 MB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.3977, allocations: 99.81 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005528/0.4033, allocations: 3.767 MB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.4037, allocations: 39.81 kB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.4037, allocations: 27.98 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.4037, allocations: 6.031 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007121/0.4045, allocations: 471.3 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4045, allocations: 8.719 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4045, allocations: 12 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.4049, allocations: 107.8 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4049, allocations: 15.92 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4051, allocations: 27.89 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.4052, allocations: 24 kB / 1.082 GB, free: 11.45 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.4055, allocations: 273.4 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4056, allocations: 31.62 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.4072, allocations: 0.6788 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4072, allocations: 0 / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4072, allocations: 4 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4072, allocations: 0 / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.4082, allocations: 0.6481 MB / 1.084 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4082, allocations: 0 / 1.084 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.4084, allocations: 55.89 kB / 1.084 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4098, allocations: 405.4 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.4099, allocations: 8 kB / 1.084 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/0.414, allocations: 3.478 MB / 1.088 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.414, allocations: 7.984 kB / 1.088 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4159, allocations: 0.8181 MB / 1.088 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.4161, allocations: 148.5 kB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.4162, allocations: 7.938 kB / 1.089 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4165, allocations: 39.94 kB / 1.089 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.4166, allocations: 27.86 kB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4166, allocations: 8 kB / 1.089 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003073/0.4169, allocations: 227 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.41e-07/0.417, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001107/0.4181, allocations: 196 kB / 1.089 GB, free: 4.008 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.4183, allocations: 103.2 kB / 1.089 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.4202, allocations: 0.9601 MB / 1.09 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4202, allocations: 0 / 1.09 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.421, allocations: 479 kB / 1.091 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.4216, allocations: 70.59 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4231, allocations: 0.9146 MB / 1.091 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.4236, allocations: 0.847 MB / 1.092 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.424, allocations: 151 kB / 1.092 GB, free: 388 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.424, allocations: 31.44 kB / 1.092 GB, free: 356 kB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.424, allocations: 0 / 1.092 GB, free: 356 kB / 0.8419 GB Notification: Performance of Templates: time 0.01137/0.4354, allocations: 6.586 MB / 1.099 GB, free: 9.793 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches