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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006332/0.006333, allocations: 102.4 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.001249/0.001249, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 56.12 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3372, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006199/0.3435, allocations: 4.136 MB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.3475, allocations: 2.376 MB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.3478, allocations: 7.938 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.3495, allocations: 0.5525 MB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009088/0.3504, allocations: 290.6 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3515, allocations: 335.2 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008038/0.3523, allocations: 0.5646 MB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.3529, allocations: 367.7 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.3533, allocations: 239.2 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.3539, allocations: 279 kB / 1.217 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.354, allocations: 36 kB / 1.217 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.3546, allocations: 287.5 kB / 1.217 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.3548, allocations: 179.6 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.3551, allocations: 210.9 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/0.356, allocations: 0.662 MB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.356, allocations: 0 / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.356, allocations: 0 / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.356, allocations: 0 / 1.218 GB, free: 15.12 MB / 0.9825 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.001316/0.3573, allocations: 0.7253 MB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3574, allocations: 8.031 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.3586, allocations: 164.2 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.3592, allocations: 332.5 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3592, allocations: 25.38 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.3593, allocations: 36.38 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3604, allocations: 0.6419 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.3604, allocations: 4 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.3605, allocations: 12 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-05/0.3605, allocations: 40.62 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.3614, allocations: 0.489 MB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.3652, allocations: 3.416 MB / 1.224 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.366, allocations: 376.9 kB / 1.224 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.3663, allocations: 169.6 kB / 1.224 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.3663, allocations: 4 kB / 1.224 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.3664, allocations: 42.5 kB / 1.224 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.975e-06/0.3664, allocations: 0 / 1.224 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.004575/0.3709, allocations: 1.462 MB / 1.226 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.371, allocations: 85.11 kB / 1.226 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.3714, allocations: 332.4 kB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3715, allocations: 29.7 kB / 1.226 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3717, allocations: 263.2 kB / 1.226 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.3717, allocations: 98.64 kB / 1.226 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3719, allocations: 90.16 kB / 1.227 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3721, allocations: 342.8 kB / 1.227 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.3724, allocations: 191 kB / 1.227 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.3728, allocations: 350 kB / 1.227 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.3736, allocations: 0.5396 MB / 1.228 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3736, allocations: 4 kB / 1.228 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002399/0.376, allocations: 0.9201 MB / 1.229 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.376, allocations: 5.719 kB / 1.229 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.376, allocations: 11.94 kB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.3783, allocations: 0.5049 MB / 1.229 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3787, allocations: 91.88 kB / 1.229 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/0.3844, allocations: 4.05 MB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.385, allocations: 47.8 kB / 1.233 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.385, allocations: 28.06 kB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000465/0.3855, allocations: 309.1 kB / 1.234 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004168/0.3859, allocations: 331.8 kB / 1.234 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006685/0.3866, allocations: 0.5191 MB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/0.3866, allocations: 0 / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009523/0.3876, allocations: 0.5399 MB / 1.235 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3876, allocations: 4 kB / 1.235 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3876, allocations: 8 kB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3876, allocations: 11.94 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.3881, allocations: 111.8 kB / 1.235 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3881, allocations: 12.45 kB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.3885, allocations: 43.81 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3885, allocations: 24 kB / 1.235 GB, free: 12.17 MB / 0.9981 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.000186/0.3887, allocations: 212 kB / 1.236 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3889, allocations: 35.61 kB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.3905, allocations: 0.6695 MB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3906, allocations: 7.938 kB / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3906, allocations: 0 / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3906, allocations: 3.984 kB / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3917, allocations: 0.6637 MB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3917, allocations: 96 / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.3919, allocations: 47.91 kB / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.3934, allocations: 401.1 kB / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.3934, allocations: 11.98 kB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/0.3978, allocations: 3.753 MB / 1.241 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3978, allocations: 0 / 1.241 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.3995, allocations: 0.8297 MB / 1.242 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.3997, allocations: 140.8 kB / 1.242 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3998, allocations: 7.984 kB / 1.242 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.4002, allocations: 35.94 kB / 1.242 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.4003, allocations: 31.89 kB / 1.242 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.4003, allocations: 16 kB / 1.242 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003577/0.4007, allocations: 235 kB / 1.242 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4007, allocations: 0 / 1.242 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001124/0.4018, allocations: 196 kB / 1.242 GB, free: 4.48 MB / 0.9981 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.0002567/0.4021, allocations: 107.2 kB / 1.243 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.4042, allocations: 0.9831 MB / 1.243 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.4042, allocations: 4 kB / 1.243 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008121/0.4051, allocations: 487.2 kB / 1.244 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.4057, allocations: 74 kB / 1.244 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4072, allocations: 0.7537 MB / 1.245 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.4077, allocations: 0.847 MB / 1.246 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003999/0.4081, allocations: 143.1 kB / 1.246 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.4082, allocations: 31.42 kB / 1.246 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.4082, allocations: 0 / 1.246 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of Templates: time 0.69/1.098, allocations: 7.592 MB / 1.253 GB, free: 37.08 MB / 0.9981 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