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.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 183.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008781/0.0008781, allocations: 91.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 9.188 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8197/1.077, allocations: 163 MB / 1.059 GB, free: 63.41 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004408/1.078, allocations: 102 kB / 1.059 GB, free: 63.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06626/1.144, allocations: 23.56 MB / 1.082 GB, free: 61.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/1.144, allocations: 0 / 1.082 GB, free: 61.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.434e-05/1.144, allocations: 11.75 kB / 1.082 GB, free: 61.23 MB / 0.698 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.001842/1.146, allocations: 0.6681 MB / 1.083 GB, free: 60.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.146, allocations: 7.812 kB / 1.083 GB, free: 60.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/1.147, allocations: 145 kB / 1.083 GB, free: 60.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/1.148, allocations: 335.4 kB / 1.084 GB, free: 60.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/1.148, allocations: 20.62 kB / 1.084 GB, free: 60.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/1.148, allocations: 39.22 kB / 1.084 GB, free: 60.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.149, allocations: 0.6009 MB / 1.084 GB, free: 60.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.149, allocations: 10.08 kB / 1.084 GB, free: 60.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/1.149, allocations: 18.44 kB / 1.084 GB, free: 60.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/1.149, allocations: 28.69 kB / 1.084 GB, free: 60.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/1.15, allocations: 476.9 kB / 1.085 GB, free: 60.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/1.153, allocations: 3.443 MB / 1.088 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/1.154, allocations: 378.4 kB / 1.088 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/1.154, allocations: 1.5 kB / 1.088 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.154, allocations: 37.59 kB / 1.088 GB, free: 57.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.336e-06/1.154, allocations: 0 / 1.088 GB, free: 57.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003793/1.158, allocations: 1.298 MB / 1.09 GB, free: 57.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.158, allocations: 81.02 kB / 1.09 GB, free: 57.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/1.159, allocations: 296.1 kB / 1.09 GB, free: 57.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/1.159, allocations: 29.52 kB / 1.09 GB, free: 57.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/1.159, allocations: 262.9 kB / 1.09 GB, free: 56.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/1.159, allocations: 90 kB / 1.09 GB, free: 56.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/1.159, allocations: 10.84 kB / 1.09 GB, free: 56.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/1.159, allocations: 340.9 kB / 1.091 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/1.159, allocations: 178.1 kB / 1.091 GB, free: 56.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/1.16, allocations: 334.1 kB / 1.091 GB, free: 56.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/1.16, allocations: 229.6 kB / 1.091 GB, free: 56.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.16, allocations: 0 / 1.091 GB, free: 56.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001833/1.162, allocations: 0.8508 MB / 1.092 GB, free: 56.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006333/1.162, allocations: 2.095 MB / 1.094 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.162, allocations: 7.938 kB / 1.094 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/1.164, allocations: 420.4 kB / 1.095 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/1.164, allocations: 92.2 kB / 1.095 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/1.166, allocations: 1.257 MB / 1.096 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/1.166, allocations: 40.67 kB / 1.096 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/1.166, allocations: 23.12 kB / 1.096 GB, free: 52.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.166, allocations: 7.859 kB / 1.096 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006614/1.167, allocations: 478.9 kB / 1.097 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.167, allocations: 3.906 kB / 1.097 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/1.167, allocations: 11.75 kB / 1.097 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.167, allocations: 108.1 kB / 1.097 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.167, allocations: 15.03 kB / 1.097 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/1.167, allocations: 33.78 kB / 1.097 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.168, allocations: 26.2 kB / 1.097 GB, free: 52.77 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 () * 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.0003227/1.168, allocations: 269.6 kB / 1.097 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/1.168, allocations: 39.19 kB / 1.097 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/1.17, allocations: 0.6742 MB / 1.098 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/1.17, allocations: 3.906 kB / 1.098 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.17, allocations: 0 / 1.098 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.17, allocations: 0 / 1.098 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/1.171, allocations: 0.6507 MB / 1.098 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.171, allocations: 3.953 kB / 1.098 GB, free: 52.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/1.171, allocations: 49.84 kB / 1.098 GB, free: 52.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.172, allocations: 410.5 kB / 1.099 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/1.173, allocations: 7.812 kB / 1.099 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/1.176, allocations: 3.54 MB / 1.102 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.176, allocations: 7.875 kB / 1.102 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.178, allocations: 0.8585 MB / 1.103 GB, free: 49.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/1.178, allocations: 152 kB / 1.103 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/1.178, allocations: 7.781 kB / 1.103 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.178, allocations: 35.86 kB / 1.103 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/1.178, allocations: 30.28 kB / 1.103 GB, free: 49.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/1.178, allocations: 11.53 kB / 1.103 GB, free: 49.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002457/1.179, allocations: 224.2 kB / 1.104 GB, free: 49.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/1.179, allocations: 3.906 kB / 1.104 GB, free: 49.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009396/1.18, allocations: 195 kB / 1.104 GB, free: 49 MB / 0.698 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.0002333/1.18, allocations: 123.6 kB / 1.104 GB, free: 48.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.181, allocations: 0.7274 MB / 1.105 GB, free: 48.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.181, allocations: 0 / 1.105 GB, free: 48.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/1.182, allocations: 484.2 kB / 1.105 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/1.183, allocations: 54.02 kB / 1.105 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/1.184, allocations: 0.9187 MB / 1.106 GB, free: 48.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/1.185, allocations: 0.849 MB / 1.107 GB, free: 47.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005204/1.185, allocations: 141.5 kB / 1.107 GB, free: 47.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/1.185, allocations: 30.41 kB / 1.107 GB, free: 47.41 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/1.185, allocations: 0 / 1.107 GB, free: 47.41 MB / 0.698 GB Notification: Performance of Templates: time 0.0118/1.197, allocations: 5.652 MB / 1.113 GB, free: 47.07 MB / 0.698 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