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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.29 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.001152/0.001152, allocations: 181 kB / 498.1 MB, free: 5.531 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.516/1.516, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.001135/0.001135, allocations: 96.33 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004005, allocations: 7.062 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.6485, allocations: 180.9 MB / 1.4 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005203/0.6491, allocations: 103.9 kB / 1.4 GB, free: 13 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1054/0.7545, allocations: 25.79 MB / 1.425 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7546, allocations: 0 / 1.425 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.811e-05/0.7546, allocations: 8 kB / 1.425 GB, free: 2.926 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.001208/0.7558, allocations: 0.6782 MB / 1.426 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.7559, allocations: 8.031 kB / 1.426 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.757, allocations: 139.4 kB / 1.426 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.7575, allocations: 327.9 kB / 1.426 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.7576, allocations: 29 kB / 1.426 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.7577, allocations: 39.98 kB / 1.426 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.7587, allocations: 0.6065 MB / 1.427 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.7587, allocations: 3.938 kB / 1.427 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.7588, allocations: 23.98 kB / 1.427 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.7588, allocations: 24.64 kB / 1.427 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.7596, allocations: 478.2 kB / 1.427 GB, free: 452 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.668/1.428, allocations: 3.421 MB / 1.43 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/1.429, allocations: 382.8 kB / 1.431 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/1.429, allocations: 7.531 kB / 1.431 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.429, allocations: 37.78 kB / 1.431 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 4.097e-06/1.429, allocations: 0 / 1.431 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.004424/1.433, allocations: 1.294 MB / 1.432 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.433, allocations: 81.03 kB / 1.432 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/1.434, allocations: 290.7 kB / 1.432 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/1.434, allocations: 30.73 kB / 1.433 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/1.434, allocations: 262.5 kB / 1.433 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/1.434, allocations: 92.69 kB / 1.433 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/1.434, allocations: 9.312 kB / 1.433 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.434, allocations: 343.9 kB / 1.433 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/1.435, allocations: 177.2 kB / 1.433 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/1.435, allocations: 339.3 kB / 1.434 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/1.435, allocations: 229.5 kB / 1.434 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.435, allocations: 5.469 kB / 1.434 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00221/1.438, allocations: 0.8463 MB / 1.435 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005775/1.438, allocations: 2.093 MB / 1.437 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.438, allocations: 4.812 kB / 1.437 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/1.44, allocations: 413.9 kB / 1.437 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/1.441, allocations: 95.94 kB / 1.437 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009932/1.442, allocations: 1.258 MB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.442, allocations: 40.11 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/1.442, allocations: 21.81 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.442, allocations: 12.31 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007536/1.443, allocations: 478 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.443, allocations: 5.406 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.443, allocations: 9.594 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/1.443, allocations: 107.5 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.443, allocations: 13.19 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/1.444, allocations: 33.98 kB / 1.439 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/1.444, allocations: 21.52 kB / 1.439 GB, free: 180.6 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.0003351/1.444, allocations: 267.5 kB / 1.439 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/1.444, allocations: 41.08 kB / 1.44 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/1.446, allocations: 0.6637 MB / 1.44 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.446, allocations: 7.547 kB / 1.44 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/1.446, allocations: 1.594 kB / 1.44 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.446, allocations: 2.453 kB / 1.44 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/1.447, allocations: 0.6538 MB / 1.441 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.447, allocations: 1.781 kB / 1.441 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/1.448, allocations: 48.91 kB / 1.441 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/1.449, allocations: 407.7 kB / 1.441 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.449, allocations: 6.438 kB / 1.441 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/1.454, allocations: 3.559 MB / 1.445 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/1.454, allocations: 2.969 kB / 1.445 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.456, allocations: 0.8651 MB / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/1.457, allocations: 144.8 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/1.457, allocations: 8.5 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/1.457, allocations: 39.41 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.457, allocations: 33.58 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/1.457, allocations: 6.688 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003763/1.458, allocations: 228.9 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/1.458, allocations: 2.25 kB / 1.446 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001366/1.459, allocations: 191.7 kB / 1.446 GB, free: 176.9 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.0002267/1.459, allocations: 126.1 kB / 1.446 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.461, allocations: 0.7335 MB / 1.447 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.461, allocations: 0 / 1.447 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000914/1.462, allocations: 476.2 kB / 1.447 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/1.462, allocations: 65.44 kB / 1.448 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/1.464, allocations: 0.9211 MB / 1.448 GB, free: 176 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/1.465, allocations: 0.8539 MB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004756/1.465, allocations: 135.1 kB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/1.465, allocations: 27.03 kB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of SimCode: time 3.2e-07/1.465, allocations: 4 kB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.0131/1.478, allocations: 5.652 MB / 1.455 GB, free: 175 MB / 0.9167 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","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches