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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009902/0.0009903, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001264/0.001264, allocations: 168.7 kB / 15.95 MB, free: 204 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.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.8384, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005208/0.8437, allocations: 3.655 MB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003631/0.8473, allocations: 2.066 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.8477, allocations: 11.94 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.848, allocations: 63.48 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.8487, allocations: 219 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.8497, allocations: 271.3 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.8506, allocations: 0.6502 MB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.8519, allocations: 0.6006 MB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.8523, allocations: 187.3 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.853, allocations: 255.2 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.853, allocations: 23.94 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.8535, allocations: 139.8 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.8537, allocations: 151.6 kB / 1.03 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.8539, allocations: 97.52 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.8546, allocations: 496.6 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8546, allocations: 0 / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8546, allocations: 0 / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.8546, allocations: 4 kB / 1.031 GB, free: 7.168 MB / 0.7794 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.001284/0.8559, allocations: 0.6332 MB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8559, allocations: 12.56 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.857, allocations: 143.3 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.8576, allocations: 315.3 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.8576, allocations: 28.98 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.8577, allocations: 39.94 kB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.8587, allocations: 0.6143 MB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.8588, allocations: 7.938 kB / 1.033 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.8588, allocations: 15.98 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.387e-05/0.8589, allocations: 40.62 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.8597, allocations: 474.1 kB / 1.033 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.8635, allocations: 3.436 MB / 1.037 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.8642, allocations: 368.9 kB / 1.037 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.8645, allocations: 173.6 kB / 1.037 GB, free: 452 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.8645, allocations: 7.984 kB / 1.037 GB, free: 444 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.8646, allocations: 38.56 kB / 1.037 GB, free: 396 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.8646, allocations: 0 / 1.037 GB, free: 396 kB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.004476/0.869, allocations: 1.463 MB / 1.039 GB, free: 14.88 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.8691, allocations: 81.06 kB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.8695, allocations: 328.3 kB / 1.039 GB, free: 14.45 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.8695, allocations: 33.7 kB / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.8697, allocations: 259.3 kB / 1.039 GB, free: 14.15 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.8698, allocations: 98.62 kB / 1.039 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.8699, allocations: 8 kB / 1.039 GB, free: 14.05 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.87, allocations: 338.8 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.8703, allocations: 177 kB / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.8707, allocations: 334.1 kB / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.8711, allocations: 235.8 kB / 1.04 GB, free: 12.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8711, allocations: 0 / 1.04 GB, free: 12.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002285/0.8734, allocations: 0.9046 MB / 1.041 GB, free: 11.99 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.8737, allocations: 254.6 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.8738, allocations: 4 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/0.8759, allocations: 0.501 MB / 1.042 GB, free: 11.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.8763, allocations: 99.81 kB / 1.042 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/0.8821, allocations: 3.772 MB / 1.046 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.8825, allocations: 47.88 kB / 1.046 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.8826, allocations: 23.98 kB / 1.046 GB, free: 6.945 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.8826, allocations: 7.938 kB / 1.046 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007772/0.8834, allocations: 475.9 kB / 1.046 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.8834, allocations: 7.984 kB / 1.046 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.8834, allocations: 8 kB / 1.046 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.8839, allocations: 111.8 kB / 1.046 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.8839, allocations: 11.94 kB / 1.047 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.8842, allocations: 35.83 kB / 1.047 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.8842, allocations: 23.98 kB / 1.047 GB, free: 6.277 MB / 0.795 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.0003073/0.8845, allocations: 277.1 kB / 1.047 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.8846, allocations: 39.61 kB / 1.047 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.8863, allocations: 0.6594 MB / 1.048 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.8863, allocations: 4 kB / 1.048 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.8863, allocations: 4 kB / 1.048 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.8864, allocations: 3.984 kB / 1.048 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.8874, allocations: 0.6558 MB / 1.048 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8874, allocations: 4 kB / 1.048 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.8877, allocations: 43.97 kB / 1.048 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.8891, allocations: 405.3 kB / 1.049 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.8891, allocations: 12 kB / 1.049 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.893, allocations: 3.47 MB / 1.052 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8931, allocations: 0 / 1.052 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.8947, allocations: 0.8261 MB / 1.053 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.8949, allocations: 140.6 kB / 1.053 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.895, allocations: 8 kB / 1.053 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.8953, allocations: 35.94 kB / 1.053 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.8954, allocations: 27.97 kB / 1.053 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.8954, allocations: 4 kB / 1.053 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002758/0.8957, allocations: 238.9 kB / 1.053 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8957, allocations: 0 / 1.053 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009817/0.8967, allocations: 192 kB / 1.053 GB, free: 14.84 MB / 0.8106 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.0001967/0.8969, allocations: 107.2 kB / 1.054 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.8988, allocations: 0.9556 MB / 1.054 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8988, allocations: 0 / 1.054 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.8995, allocations: 478.5 kB / 1.055 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.9002, allocations: 65.8 kB / 1.055 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.9017, allocations: 0.9257 MB / 1.056 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.9024, allocations: 0.847 MB / 1.057 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004266/0.9028, allocations: 139.1 kB / 1.057 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.9029, allocations: 27.44 kB / 1.057 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.9029, allocations: 7.938 kB / 1.057 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.01304/0.9159, allocations: 6.597 MB / 1.063 GB, free: 4.617 MB / 0.8106 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 -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/jenkins/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