Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_11_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_11_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.008614/0.008614, allocations: 99.34 kB / 15.73 MB, free: 6.051 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.001924/0.001924, allocations: 185.1 kB / 16.67 MB, free: 5.961 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.687/2.687, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.09 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9363/0.9376, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006186/0.9437, allocations: 4.172 MB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004109/0.9479, allocations: 2.361 MB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.9481, allocations: 11.94 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.9497, allocations: 0.543 MB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007649/0.9504, allocations: 298.6 kB / 1.228 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.9514, allocations: 351.1 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.952, allocations: 0.5607 MB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/0.9525, allocations: 303.4 kB / 1.229 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.9528, allocations: 231.2 kB / 1.229 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.9533, allocations: 279 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.9533, allocations: 36 kB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.9539, allocations: 287.5 kB / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.9541, allocations: 179.5 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.9543, allocations: 215 kB / 1.23 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.9551, allocations: 0.6587 MB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9551, allocations: 0 / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.637e-06/0.9551, allocations: 0 / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.9551, allocations: 0 / 1.231 GB, free: 7.648 MB / 0.9512 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.001214/0.9563, allocations: 0.744 MB / 1.232 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9564, allocations: 12.62 kB / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.9576, allocations: 156.5 kB / 1.232 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.958, allocations: 336.6 kB / 1.232 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.9581, allocations: 29.38 kB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.9582, allocations: 36.36 kB / 1.232 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/0.9591, allocations: 0.6341 MB / 1.233 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.9591, allocations: 7.938 kB / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.9592, allocations: 12 kB / 1.233 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/0.9593, allocations: 44.62 kB / 1.233 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.9601, allocations: 490.1 kB / 1.233 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.9636, allocations: 3.436 MB / 1.237 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.9643, allocations: 348.9 kB / 1.237 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.9645, allocations: 153.6 kB / 1.237 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.9646, allocations: 8 kB / 1.237 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.9646, allocations: 34.56 kB / 1.237 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.9646, allocations: 0 / 1.237 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.00464/0.9692, allocations: 1.463 MB / 1.239 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.9693, allocations: 89.05 kB / 1.239 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.9697, allocations: 332.4 kB / 1.239 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.9697, allocations: 37.64 kB / 1.239 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.9699, allocations: 268 kB / 1.239 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.97, allocations: 95.17 kB / 1.239 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.9701, allocations: 98.19 kB / 1.239 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9703, allocations: 334.8 kB / 1.24 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.9706, allocations: 195 kB / 1.24 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.971, allocations: 353.9 kB / 1.24 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.9717, allocations: 0.5436 MB / 1.241 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9717, allocations: 0 / 1.241 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002439/0.9741, allocations: 0.9202 MB / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.9741, allocations: 4 kB / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.9741, allocations: 8 kB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.9765, allocations: 0.5012 MB / 1.242 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.977, allocations: 99.81 kB / 1.242 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.9829, allocations: 4.064 MB / 1.246 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.9835, allocations: 43.92 kB / 1.246 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.9835, allocations: 31.98 kB / 1.246 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004984/0.984, allocations: 301.1 kB / 1.247 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000391/0.9844, allocations: 335.8 kB / 1.247 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006599/0.9851, allocations: 0.5101 MB / 1.247 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.9851, allocations: 0 / 1.247 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009149/0.986, allocations: 0.5478 MB / 1.248 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.986, allocations: 8 kB / 1.248 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.986, allocations: 4 kB / 1.248 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.986, allocations: 11.94 kB / 1.248 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.9865, allocations: 115.8 kB / 1.248 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9865, allocations: 12.41 kB / 1.248 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.9869, allocations: 43.86 kB / 1.248 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.9869, allocations: 27.98 kB / 1.248 GB, free: 4.688 MB / 0.9669 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.0001882/0.9871, allocations: 209.2 kB / 1.248 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.9872, allocations: 31.81 kB / 1.248 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.9889, allocations: 0.668 MB / 1.249 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9889, allocations: 4 kB / 1.249 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9889, allocations: 4 kB / 1.249 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9889, allocations: 0 / 1.249 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.9899, allocations: 0.6559 MB / 1.25 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9899, allocations: 4.094 kB / 1.25 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.9901, allocations: 47.91 kB / 1.25 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.9916, allocations: 401.2 kB / 1.25 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.9917, allocations: 4 kB / 1.25 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.9958, allocations: 3.774 MB / 1.254 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9958, allocations: 7.969 kB / 1.254 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.9975, allocations: 0.8301 MB / 1.255 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.9976, allocations: 144.8 kB / 1.255 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.9977, allocations: 4 kB / 1.255 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.998, allocations: 35.94 kB / 1.255 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.9981, allocations: 27.97 kB / 1.255 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.9981, allocations: 8 kB / 1.255 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003206/0.9985, allocations: 239 kB / 1.255 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9985, allocations: 0 / 1.255 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009817/0.9994, allocations: 196 kB / 1.255 GB, free: 13 MB / 0.9825 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.0001856/0.9996, allocations: 107.5 kB / 1.255 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.001, allocations: 0.9471 MB / 1.256 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.001, allocations: 0 / 1.256 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007144/1.002, allocations: 474.5 kB / 1.257 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/1.003, allocations: 78.27 kB / 1.257 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.004, allocations: 0.745 MB / 1.258 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/1.004, allocations: 0.8509 MB / 1.258 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003687/1.005, allocations: 151.1 kB / 1.259 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/1.005, allocations: 23.44 kB / 1.259 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/1.005, allocations: 0 / 1.259 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.01245/1.017, allocations: 7.496 MB / 1.266 GB, free: 2.059 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches