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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.264/2.264, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 179.9 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 223.1 MB / 0.7992 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009184, allocations: 105.3 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005007, allocations: 6.875 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3401, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.5806, allocations: 181.7 MB / 1.407 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.581, allocations: 99.94 kB / 1.407 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7998/1.381, allocations: 25.78 MB / 1.432 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.625e-06/1.381, allocations: 2.875 kB / 1.432 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.604e-05/1.381, allocations: 14.16 kB / 1.432 GB, free: 182.8 MB / 0.9167 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.001252/1.382, allocations: 0.6683 MB / 1.433 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.382, allocations: 13.78 kB / 1.433 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.383, allocations: 135.4 kB / 1.433 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/1.384, allocations: 330.5 kB / 1.433 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/1.384, allocations: 33.45 kB / 1.433 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/1.384, allocations: 37.73 kB / 1.433 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.385, allocations: 0.6144 MB / 1.434 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.385, allocations: 1.156 kB / 1.434 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/1.385, allocations: 17.19 kB / 1.434 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/1.385, allocations: 29.98 kB / 1.434 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00086/1.386, allocations: 476.6 kB / 1.434 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/1.39, allocations: 3.426 MB / 1.438 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/1.391, allocations: 369.2 kB / 1.438 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/1.391, allocations: 8.656 kB / 1.438 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.391, allocations: 44.11 kB / 1.438 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/1.391, allocations: 0 / 1.438 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.004056/1.395, allocations: 1.294 MB / 1.439 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/1.395, allocations: 89.28 kB / 1.439 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/1.396, allocations: 294.9 kB / 1.44 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/1.396, allocations: 29.27 kB / 1.44 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/1.396, allocations: 261.7 kB / 1.44 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.76e-05/1.396, allocations: 95.72 kB / 1.44 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/1.396, allocations: 9.5 kB / 1.44 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.396, allocations: 341.2 kB / 1.44 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/1.396, allocations: 174.8 kB / 1.44 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/1.397, allocations: 338 kB / 1.441 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/1.397, allocations: 231.1 kB / 1.441 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.397, allocations: 1.281 kB / 1.441 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002309/1.4, allocations: 0.8459 MB / 1.442 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005204/1.4, allocations: 2.093 MB / 1.444 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.4, allocations: 5.188 kB / 1.444 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.402, allocations: 410.7 kB / 1.444 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/1.403, allocations: 95.2 kB / 1.444 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.404, allocations: 1.256 MB / 1.446 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/1.404, allocations: 46.69 kB / 1.446 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/1.404, allocations: 22.02 kB / 1.446 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.404, allocations: 3.094 kB / 1.446 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008345/1.405, allocations: 483.6 kB / 1.446 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.405, allocations: 5.75 kB / 1.446 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.405, allocations: 8.5 kB / 1.446 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/1.406, allocations: 113.5 kB / 1.446 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/1.406, allocations: 13.22 kB / 1.446 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/1.406, allocations: 34.08 kB / 1.446 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/1.406, allocations: 20.3 kB / 1.446 GB, free: 174.5 MB / 0.9167 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.0003334/1.406, allocations: 275 kB / 1.447 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/1.407, allocations: 38.55 kB / 1.447 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/1.408, allocations: 0.6717 MB / 1.447 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/1.408, allocations: 3.75 kB / 1.447 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.408, allocations: 1.531 kB / 1.447 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.409, allocations: 1.359 kB / 1.447 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.41, allocations: 0.658 MB / 1.448 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.41, allocations: 1.062 kB / 1.448 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.41, allocations: 41.94 kB / 1.448 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/1.412, allocations: 406.8 kB / 1.448 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/1.412, allocations: 7.219 kB / 1.448 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/1.416, allocations: 3.571 MB / 1.452 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.416, allocations: 3.938 kB / 1.452 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/1.417, allocations: 0.8565 MB / 1.453 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/1.418, allocations: 144.9 kB / 1.453 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/1.418, allocations: 11.06 kB / 1.453 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/1.418, allocations: 33.19 kB / 1.453 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/1.418, allocations: 25.56 kB / 1.453 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.418, allocations: 14.44 kB / 1.453 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002907/1.418, allocations: 229.5 kB / 1.453 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.81e-07/1.418, allocations: 0 / 1.453 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001029/1.419, allocations: 193.2 kB / 1.453 GB, free: 170.8 MB / 0.9167 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.0001972/1.42, allocations: 124.5 kB / 1.453 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.421, allocations: 0.7194 MB / 1.454 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.421, allocations: 1.5 kB / 1.454 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/1.422, allocations: 475.9 kB / 1.455 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/1.422, allocations: 70.89 kB / 1.455 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.424, allocations: 0.9138 MB / 1.456 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.424, allocations: 0.8553 MB / 1.456 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004208/1.425, allocations: 139.8 kB / 1.457 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/1.425, allocations: 30.39 kB / 1.457 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/1.425, allocations: 0 / 1.457 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.01061/1.435, allocations: 5.658 MB / 1.462 GB, free: 168.9 MB / 0.9167 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","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches