Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001048/0.001048, allocations: 86.64 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.001354/0.001354, 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.547/1.547, allocations: 223.2 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004528, allocations: 15.94 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9313, allocations: 142.4 MB / 0.9545 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004547/0.9359, allocations: 3.647 MB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.939, allocations: 2.065 MB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.9393, allocations: 9.438 kB / 0.96 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.9395, allocations: 65.11 kB / 0.9601 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.9401, allocations: 211.1 kB / 0.9603 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.9409, allocations: 274.9 kB / 0.9606 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.9416, allocations: 0.6498 MB / 0.9612 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.9427, allocations: 0.5945 MB / 0.9618 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.943, allocations: 188.2 kB / 0.962 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.9435, allocations: 254.8 kB / 0.9622 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.9435, allocations: 17.56 kB / 0.9622 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.9439, allocations: 146.6 kB / 0.9624 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.9441, allocations: 159 kB / 0.9625 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.9442, allocations: 94.45 kB / 0.9626 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.9447, allocations: 495.8 kB / 0.9631 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9447, allocations: 0 / 0.9631 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9447, allocations: 4.938 kB / 0.9631 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.9447, allocations: 0 / 0.9631 GB, free: 1.348 MB / 0.7169 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.0009276/0.9456, allocations: 0.6272 MB / 0.9637 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.9457, allocations: 9.906 kB / 0.9637 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008892/0.9466, allocations: 143.9 kB / 0.9638 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.9469, allocations: 309.8 kB / 0.9641 GB, free: 444 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.947, allocations: 35.08 kB / 0.9642 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.9471, allocations: 36.81 kB / 0.9642 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.948, allocations: 0.6179 MB / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.9481, allocations: 5.844 kB / 0.9648 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.9481, allocations: 28.61 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.918e-05/0.9482, allocations: 42.09 kB / 0.9649 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.949, allocations: 474.3 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.9526, allocations: 3.423 MB / 0.9687 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.9533, allocations: 374.1 kB / 0.969 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.9536, allocations: 174.2 kB / 0.9692 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.9536, allocations: 11.3 kB / 0.9692 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.9537, allocations: 40.67 kB / 0.9693 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.9537, allocations: 4 kB / 0.9693 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004556/0.9583, allocations: 1.454 MB / 0.9707 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.9583, allocations: 84.89 kB / 0.9708 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.9588, allocations: 320.2 kB / 0.9711 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.9589, allocations: 31.42 kB / 0.9711 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.959, allocations: 262.8 kB / 0.9713 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.9591, allocations: 95.98 kB / 0.9714 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.9592, allocations: 9.344 kB / 0.9714 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9593, allocations: 342.8 kB / 0.9718 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.9596, allocations: 175.5 kB / 0.9719 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.9601, allocations: 341.1 kB / 0.9723 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.9605, allocations: 235.5 kB / 0.9725 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.9605, allocations: 1.219 kB / 0.9725 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0023/0.9628, allocations: 0.9037 MB / 0.9734 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.9631, allocations: 247.2 kB / 0.9736 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.9631, allocations: 9.906 kB / 0.9736 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.9652, allocations: 0.4988 MB / 0.9741 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.9656, allocations: 94.09 kB / 0.9742 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.9708, allocations: 3.772 MB / 0.9779 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.9712, allocations: 40.84 kB / 0.9779 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.9713, allocations: 21.83 kB / 0.9779 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.9713, allocations: 7.922 kB / 0.9779 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000808/0.9721, allocations: 477.2 kB / 0.9784 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9721, allocations: 5.719 kB / 0.9784 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.9722, allocations: 9.094 kB / 0.9784 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.9725, allocations: 108.4 kB / 0.9785 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.9726, allocations: 24.5 kB / 0.9785 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.9728, allocations: 33.23 kB / 0.9786 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.9729, allocations: 21.25 kB / 0.9786 GB, free: 5.051 MB / 0.7325 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.0003178/0.9732, allocations: 275.4 kB / 0.9789 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.9733, allocations: 35.98 kB / 0.9789 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.975, allocations: 0.6722 MB / 0.9795 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.975, allocations: 4.156 kB / 0.9795 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.975, allocations: 0 / 0.9795 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.975, allocations: 1.469 kB / 0.9796 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.976, allocations: 0.6495 MB / 0.9802 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.976, allocations: 11.98 kB / 0.9802 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.9762, allocations: 49.7 kB / 0.9802 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.9776, allocations: 409.3 kB / 0.9806 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.9777, allocations: 4 kB / 0.9806 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00412/0.9818, allocations: 3.478 MB / 0.984 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9818, allocations: 0 / 0.984 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.9836, allocations: 0.8181 MB / 0.9848 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.9838, allocations: 152.6 kB / 0.985 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.9839, allocations: 8 kB / 0.985 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.9842, allocations: 35.94 kB / 0.985 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.9843, allocations: 23.97 kB / 0.985 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.9843, allocations: 8 kB / 0.9851 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002618/0.9846, allocations: 227 kB / 0.9853 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9846, allocations: 0 / 0.9853 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009827/0.9856, allocations: 192.1 kB / 0.9855 GB, free: 14.31 MB / 0.7481 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.0002055/0.9858, allocations: 119 kB / 0.9856 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.9877, allocations: 0.9522 MB / 0.9865 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.9877, allocations: 4 kB / 0.9865 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.9885, allocations: 477.4 kB / 0.987 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.9891, allocations: 71.91 kB / 0.987 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.9907, allocations: 0.9245 MB / 0.9879 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.9912, allocations: 0.8509 MB / 0.9888 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.9916, allocations: 135.1 kB / 0.9889 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.9917, allocations: 27.44 kB / 0.9889 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/0.9917, allocations: 0 / 0.9889 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of Templates: time 0.01199/1.004, allocations: 6.587 MB / 0.9953 GB, free: 4.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches