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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001762/0.001762, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 64.52 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3542, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005892/0.3601, allocations: 4.195 MB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003872/0.364, allocations: 2.373 MB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.3643, allocations: 11.94 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.3658, allocations: 0.5056 MB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.3664, allocations: 282.9 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.3672, allocations: 307.3 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.3678, allocations: 0.8142 MB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.3684, allocations: 368.2 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.3686, allocations: 203.2 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.3691, allocations: 287.1 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.3692, allocations: 24 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.3697, allocations: 331.4 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3699, allocations: 171.5 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3701, allocations: 210.9 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.3707, allocations: 0.6503 MB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3707, allocations: 0 / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3708, allocations: 0 / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3708, allocations: 4 kB / 1.078 GB, free: 148 kB / 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.001157/0.3719, allocations: 0.7214 MB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.372, allocations: 19.97 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.3732, allocations: 156.2 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.3736, allocations: 320.5 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3737, allocations: 25.38 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.3738, allocations: 36.38 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.3747, allocations: 0.6458 MB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3748, allocations: 3.938 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.3748, allocations: 12 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/0.3749, allocations: 44.62 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008081/0.3757, allocations: 494.1 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.3794, allocations: 3.444 MB / 1.084 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.3802, allocations: 371.8 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3804, allocations: 173.6 kB / 1.084 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.3805, allocations: 4 kB / 1.084 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3805, allocations: 42.5 kB / 1.084 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.3805, allocations: 0 / 1.084 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004829/0.3854, allocations: 1.451 MB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.3855, allocations: 85.09 kB / 1.086 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.3859, allocations: 332.4 kB / 1.086 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3859, allocations: 33.7 kB / 1.086 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.3862, allocations: 259.3 kB / 1.086 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.3863, allocations: 94.69 kB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3864, allocations: 98.05 kB / 1.087 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3866, allocations: 338.8 kB / 1.087 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.3869, allocations: 191 kB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.3874, allocations: 350 kB / 1.087 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/0.3881, allocations: 0.5435 MB / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.3881, allocations: 4 kB / 1.088 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002593/0.3907, allocations: 0.912 MB / 1.089 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.3908, allocations: 8.438 kB / 1.089 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3908, allocations: 8 kB / 1.089 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.3932, allocations: 0.5048 MB / 1.089 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.3937, allocations: 91.88 kB / 1.089 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/0.3998, allocations: 3.782 MB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.4004, allocations: 47.8 kB / 1.093 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.4005, allocations: 19.94 kB / 1.093 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005086/0.401, allocations: 313.1 kB / 1.094 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003855/0.4014, allocations: 335.8 kB / 1.094 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006638/0.4021, allocations: 0.5113 MB / 1.094 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.943e-06/0.4021, allocations: 4 kB / 1.094 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009636/0.403, allocations: 0.5395 MB / 1.095 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4031, allocations: 8 kB / 1.095 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4031, allocations: 16.7 kB / 1.095 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.4031, allocations: 8 kB / 1.095 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.4035, allocations: 111.8 kB / 1.095 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4036, allocations: 11.98 kB / 1.095 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.404, allocations: 43.81 kB / 1.095 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.4041, allocations: 20 kB / 1.095 GB, free: 13.48 MB / 0.8575 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.0001841/0.4043, allocations: 216.5 kB / 1.095 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4044, allocations: 39.62 kB / 1.095 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4061, allocations: 0.6721 MB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4061, allocations: 0 / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4061, allocations: 4 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4062, allocations: 0 / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.4071, allocations: 0.6598 MB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4071, allocations: 0 / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4073, allocations: 47.91 kB / 1.097 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.409, allocations: 401.3 kB / 1.097 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.409, allocations: 0 / 1.097 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.4129, allocations: 3.486 MB / 1.1 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.413, allocations: 7.938 kB / 1.1 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4147, allocations: 0.8181 MB / 1.101 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.415, allocations: 144.6 kB / 1.101 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.415, allocations: 4 kB / 1.101 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.4155, allocations: 43.92 kB / 1.101 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.4156, allocations: 27.91 kB / 1.101 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.4156, allocations: 8 kB / 1.101 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000307/0.4159, allocations: 235 kB / 1.102 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.22e-06/0.4159, allocations: 0 / 1.102 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000988/0.4169, allocations: 199.9 kB / 1.102 GB, free: 6.086 MB / 0.8575 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.0001889/0.4171, allocations: 111.3 kB / 1.102 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.419, allocations: 0.9747 MB / 1.103 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.419, allocations: 0 / 1.103 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.4198, allocations: 482.4 kB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.4204, allocations: 75.62 kB / 1.103 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4219, allocations: 0.907 MB / 1.104 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.4224, allocations: 0.8509 MB / 1.105 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004728/0.4228, allocations: 135.1 kB / 1.105 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.4229, allocations: 31.44 kB / 1.105 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.4229, allocations: 0 / 1.105 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of Templates: time 0.01253/0.4355, allocations: 6.987 MB / 1.112 GB, free: 11.46 MB / 0.8731 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