Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.462/1.462, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.0009487/0.0009487, allocations: 178.5 kB / 321.3 MB, free: 14.65 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.485/1.485, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000903/0.0009031, allocations: 78.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.53e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7875/1.026, allocations: 166.6 MB / 1.054 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.026, allocations: 95.12 kB / 1.055 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05728/1.083, allocations: 24.27 MB / 1.078 GB, free: 13.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/1.083, allocations: 3.938 kB / 1.078 GB, free: 13.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.57e-05/1.083, allocations: 15.92 kB / 1.078 GB, free: 13.65 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.0009845/1.084, allocations: 0.6374 MB / 1.079 GB, free: 13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.084, allocations: 8.031 kB / 1.079 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.086, allocations: 142.2 kB / 1.079 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/1.086, allocations: 322.5 kB / 1.079 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.086, allocations: 34.25 kB / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/1.086, allocations: 42.16 kB / 1.079 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/1.087, allocations: 0.6025 MB / 1.08 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.087, allocations: 0 / 1.08 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/1.087, allocations: 18.44 kB / 1.08 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/1.087, allocations: 32.33 kB / 1.08 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/1.088, allocations: 466.8 kB / 1.081 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/1.091, allocations: 3.435 MB / 1.084 GB, free: 8.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/1.092, allocations: 377.2 kB / 1.084 GB, free: 7.953 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/1.092, allocations: 168.6 kB / 1.084 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/1.092, allocations: 7.953 kB / 1.084 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.092, allocations: 33.44 kB / 1.084 GB, free: 7.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/1.092, allocations: 0 / 1.084 GB, free: 7.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001894/1.094, allocations: 0.7501 MB / 1.085 GB, free: 7.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.094, allocations: 81.11 kB / 1.085 GB, free: 7.039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/1.094, allocations: 288.4 kB / 1.086 GB, free: 6.805 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/1.094, allocations: 28.64 kB / 1.086 GB, free: 6.773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/1.095, allocations: 261.1 kB / 1.086 GB, free: 6.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/1.095, allocations: 99.92 kB / 1.086 GB, free: 6.465 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/1.095, allocations: 11 kB / 1.086 GB, free: 6.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.095, allocations: 340.9 kB / 1.086 GB, free: 6.129 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/1.095, allocations: 173.3 kB / 1.086 GB, free: 6.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/1.095, allocations: 333 kB / 1.087 GB, free: 5.691 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/1.096, allocations: 229.1 kB / 1.087 GB, free: 5.531 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.096, allocations: 0 / 1.087 GB, free: 5.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001826/1.098, allocations: 0.846 MB / 1.088 GB, free: 4.828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009146/1.099, allocations: 2.089 MB / 1.09 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.099, allocations: 4 kB / 1.09 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/1.1, allocations: 413.5 kB / 1.09 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/1.101, allocations: 103.2 kB / 1.09 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/1.102, allocations: 1.254 MB / 1.092 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/1.102, allocations: 35.36 kB / 1.092 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/1.102, allocations: 31.3 kB / 1.092 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.102, allocations: 7.938 kB / 1.092 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006719/1.103, allocations: 464.8 kB / 1.092 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.103, allocations: 8 kB / 1.092 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.103, allocations: 12 kB / 1.092 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/1.103, allocations: 111.3 kB / 1.092 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.103, allocations: 11.94 kB / 1.092 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/1.104, allocations: 30.27 kB / 1.092 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/1.104, allocations: 23.92 kB / 1.092 GB, free: 308 kB / 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.0001279/1.104, allocations: 135.4 kB / 1.092 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/1.104, allocations: 35.58 kB / 1.092 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/1.106, allocations: 0.666 MB / 1.093 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/1.106, allocations: 4 kB / 1.093 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.106, allocations: 0 / 1.093 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.106, allocations: 7.984 kB / 1.093 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009084/1.107, allocations: 0.6518 MB / 1.094 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.107, allocations: 0 / 1.094 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/1.107, allocations: 43.91 kB / 1.094 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/1.108, allocations: 406.5 kB / 1.094 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/1.108, allocations: 7.438 kB / 1.094 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/1.112, allocations: 3.478 MB / 1.098 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.112, allocations: 0 / 1.098 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.114, allocations: 0.8633 MB / 1.098 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/1.114, allocations: 143 kB / 1.098 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/1.114, allocations: 7.875 kB / 1.098 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/1.115, allocations: 39.75 kB / 1.099 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/1.115, allocations: 35.73 kB / 1.099 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.115, allocations: 4 kB / 1.099 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002471/1.115, allocations: 230.9 kB / 1.099 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 1.099 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000866/1.116, allocations: 186.4 kB / 1.099 GB, free: 9.754 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.0002066/1.116, allocations: 126.9 kB / 1.099 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.118, allocations: 0.7197 MB / 1.1 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.118, allocations: 7.938 kB / 1.1 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/1.118, allocations: 466 kB / 1.1 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/1.119, allocations: 67.42 kB / 1.1 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/1.12, allocations: 0.5368 MB / 1.101 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/1.12, allocations: 0.851 MB / 1.102 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004338/1.121, allocations: 139.1 kB / 1.102 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/1.121, allocations: 27.42 kB / 1.102 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of SimCode: time 2.855e-06/1.121, allocations: 0 / 1.102 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of Templates: time 0.01085/1.132, allocations: 5.988 MB / 1.108 GB, free: 0.9336 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches