Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000926/0.0009262, allocations: 86.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.235e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1794, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.612/0.7914, allocations: 163 MB / 1.051 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.7917, allocations: 94 kB / 1.051 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05353/0.8452, allocations: 23.42 MB / 1.074 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8453, allocations: 3.938 kB / 1.074 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.8453, allocations: 8 kB / 1.074 GB, free: 1.922 MB / 0.6823 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.0008945/0.8462, allocations: 0.6285 MB / 1.075 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8462, allocations: 12.03 kB / 1.075 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.8473, allocations: 143.3 kB / 1.075 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.8477, allocations: 330.7 kB / 1.075 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.8477, allocations: 26.33 kB / 1.075 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.8478, allocations: 33.88 kB / 1.075 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.8486, allocations: 0.6056 MB / 1.076 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8486, allocations: 0 / 1.076 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.8487, allocations: 20.62 kB / 1.076 GB, free: 236 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.8487, allocations: 31.45 kB / 1.076 GB, free: 208 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.8494, allocations: 463.8 kB / 1.076 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.8525, allocations: 3.45 MB / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.8531, allocations: 364.3 kB / 1.08 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.8533, allocations: 172.7 kB / 1.08 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.8533, allocations: 0 / 1.08 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.8534, allocations: 49.83 kB / 1.08 GB, free: 12.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.142e-06/0.8534, allocations: 0 / 1.08 GB, free: 12.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001783/0.8552, allocations: 0.7403 MB / 1.081 GB, free: 11.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.8552, allocations: 81.11 kB / 1.081 GB, free: 11.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.8555, allocations: 292.2 kB / 1.081 GB, free: 11.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.8556, allocations: 32.95 kB / 1.081 GB, free: 11.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.8557, allocations: 265.4 kB / 1.081 GB, free: 10.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.8558, allocations: 92.67 kB / 1.082 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.8558, allocations: 6.812 kB / 1.082 GB, free: 10.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8559, allocations: 343.9 kB / 1.082 GB, free: 10.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.8562, allocations: 170.4 kB / 1.082 GB, free: 10.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.8565, allocations: 338.9 kB / 1.082 GB, free: 9.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.8568, allocations: 219.6 kB / 1.083 GB, free: 9.809 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8568, allocations: 4 kB / 1.083 GB, free: 9.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001781/0.8586, allocations: 0.8445 MB / 1.083 GB, free: 9.102 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008759/0.8595, allocations: 2.089 MB / 1.085 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.8595, allocations: 8 kB / 1.085 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.8611, allocations: 417.8 kB / 1.086 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.8615, allocations: 98.94 kB / 1.086 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.8625, allocations: 1.255 MB / 1.087 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.8629, allocations: 38.75 kB / 1.087 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.8629, allocations: 23.58 kB / 1.087 GB, free: 5.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.8629, allocations: 4 kB / 1.087 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006525/0.8636, allocations: 478.5 kB / 1.088 GB, free: 4.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8636, allocations: 4 kB / 1.088 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.8636, allocations: 8.719 kB / 1.088 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.864, allocations: 103.2 kB / 1.088 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.864, allocations: 19.92 kB / 1.088 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.8643, allocations: 35.39 kB / 1.088 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.8643, allocations: 16 kB / 1.088 GB, free: 4.574 MB / 0.698 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 () * 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.0001197/0.8644, allocations: 136.7 kB / 1.088 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.8645, allocations: 39.56 kB / 1.088 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.8662, allocations: 0.6629 MB / 1.089 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8662, allocations: 4 kB / 1.089 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8662, allocations: 4 kB / 1.089 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8662, allocations: 0 / 1.089 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008965/0.8671, allocations: 0.6519 MB / 1.089 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8672, allocations: 8.047 kB / 1.089 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.8674, allocations: 43.97 kB / 1.089 GB, free: 3.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.8688, allocations: 405.6 kB / 1.09 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.8689, allocations: 6.562 kB / 1.09 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003715/0.8726, allocations: 3.463 MB / 1.093 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8726, allocations: 12.08 kB / 1.093 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.8742, allocations: 0.8536 MB / 1.094 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.8744, allocations: 146 kB / 1.094 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.8745, allocations: 11.5 kB / 1.094 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.8748, allocations: 35.56 kB / 1.094 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.8749, allocations: 31.3 kB / 1.094 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.8749, allocations: 11.12 kB / 1.094 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002241/0.8751, allocations: 222.2 kB / 1.094 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.232e-06/0.8752, allocations: 4 kB / 1.094 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007784/0.8759, allocations: 208 kB / 1.095 GB, free: 14.02 MB / 0.7136 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 () * 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.0001933/0.8761, allocations: 115.2 kB / 1.095 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.8774, allocations: 0.7181 MB / 1.095 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8775, allocations: 0 / 1.095 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.8782, allocations: 476.4 kB / 1.096 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.8786, allocations: 59.73 kB / 1.096 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.8795, allocations: 0.5289 MB / 1.096 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.8799, allocations: 0.8596 MB / 1.097 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004395/0.8804, allocations: 147.1 kB / 1.097 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.8805, allocations: 23.44 kB / 1.097 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.8805, allocations: 3.938 kB / 1.097 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.009944/0.8904, allocations: 5.971 MB / 1.103 GB, free: 5.438 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches