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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.0009611/0.0009611, allocations: 172 kB / 492.3 MB, free: 0.5859 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.537/1.537, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008261/0.0008262, allocations: 91.27 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.407e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.983/1.258, allocations: 180.9 MB / 1.389 GB, free: 16.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.258, allocations: 99.58 kB / 1.389 GB, free: 16.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05469/1.313, allocations: 25.65 MB / 1.414 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.194e-06/1.313, allocations: 0 / 1.414 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.681e-05/1.313, allocations: 8 kB / 1.414 GB, free: 13.04 MB / 0.8386 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.00114/1.314, allocations: 0.6433 MB / 1.415 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.314, allocations: 12.03 kB / 1.415 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.316, allocations: 142.6 kB / 1.415 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/1.316, allocations: 328 kB / 1.415 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/1.316, allocations: 27.47 kB / 1.415 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/1.316, allocations: 34.69 kB / 1.415 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/1.317, allocations: 0.591 MB / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.317, allocations: 7.938 kB / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/1.317, allocations: 25 kB / 1.416 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/1.317, allocations: 36.73 kB / 1.416 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/1.318, allocations: 458.1 kB / 1.416 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/1.321, allocations: 3.436 MB / 1.42 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/1.322, allocations: 375.9 kB / 1.42 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/1.322, allocations: 168.5 kB / 1.42 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/1.322, allocations: 7.984 kB / 1.42 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/1.322, allocations: 49.2 kB / 1.42 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/1.322, allocations: 0 / 1.42 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001919/1.324, allocations: 0.7443 MB / 1.421 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/1.324, allocations: 77.11 kB / 1.421 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/1.325, allocations: 286.6 kB / 1.421 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/1.325, allocations: 37.02 kB / 1.421 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/1.325, allocations: 262.3 kB / 1.422 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/1.325, allocations: 93.64 kB / 1.422 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.325, allocations: 6.375 kB / 1.422 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.325, allocations: 341.7 kB / 1.422 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/1.325, allocations: 169.9 kB / 1.422 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/1.326, allocations: 337.2 kB / 1.423 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/1.326, allocations: 219.4 kB / 1.423 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.326, allocations: 8 kB / 1.423 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00175/1.328, allocations: 0.8392 MB / 1.424 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009057/1.329, allocations: 2.095 MB / 1.426 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.329, allocations: 7.953 kB / 1.426 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/1.33, allocations: 413.9 kB / 1.426 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/1.331, allocations: 95.38 kB / 1.426 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/1.332, allocations: 1.255 MB / 1.427 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/1.332, allocations: 43.08 kB / 1.427 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/1.332, allocations: 18.81 kB / 1.427 GB, free: 220 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.332, allocations: 4 kB / 1.427 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006771/1.333, allocations: 475.4 kB / 1.428 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.333, allocations: 4.859 kB / 1.428 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/1.333, allocations: 8 kB / 1.428 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/1.333, allocations: 115.3 kB / 1.428 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.333, allocations: 11.94 kB / 1.428 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/1.334, allocations: 34.62 kB / 1.428 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/1.334, allocations: 19.5 kB / 1.428 GB, free: 15.7 MB / 0.8542 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.0001281/1.334, allocations: 135 kB / 1.428 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/1.334, allocations: 39.52 kB / 1.428 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.336, allocations: 0.6642 MB / 1.429 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.336, allocations: 4 kB / 1.429 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.336, allocations: 3.984 kB / 1.429 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.336, allocations: 0 / 1.429 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009237/1.337, allocations: 0.6588 MB / 1.43 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.337, allocations: 4 kB / 1.43 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.337, allocations: 39.97 kB / 1.43 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/1.338, allocations: 412.2 kB / 1.43 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/1.338, allocations: 3.062 kB / 1.43 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/1.342, allocations: 3.469 MB / 1.433 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.342, allocations: 3.938 kB / 1.433 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.344, allocations: 0.8629 MB / 1.434 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.344, allocations: 135 kB / 1.434 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/1.344, allocations: 7.359 kB / 1.434 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/1.344, allocations: 43.5 kB / 1.434 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.344, allocations: 23.11 kB / 1.434 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.344, allocations: 11.38 kB / 1.434 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002298/1.345, allocations: 226.7 kB / 1.435 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/1.345, allocations: 0 / 1.435 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000828/1.345, allocations: 199.2 kB / 1.435 GB, free: 9.152 MB / 0.8542 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.000195/1.346, allocations: 120.8 kB / 1.435 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001309/1.347, allocations: 0.7195 MB / 1.436 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.347, allocations: 0.625 kB / 1.436 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/1.348, allocations: 484.5 kB / 1.436 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/1.348, allocations: 76.3 kB / 1.436 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/1.349, allocations: 0.5205 MB / 1.437 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/1.349, allocations: 0.8525 MB / 1.438 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004407/1.35, allocations: 147.2 kB / 1.438 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/1.35, allocations: 30.88 kB / 1.438 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of SimCode: time 3.9e-07/1.35, allocations: 4 kB / 1.438 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.01056/1.361, allocations: 5.975 MB / 1.444 GB, free: 0.5469 MB / 0.8542 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