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.377/1.377, 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.001129/0.001129, allocations: 192.9 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.774/1.774, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009129/0.000913, allocations: 93.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 8.469 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7842/1.04, allocations: 166.7 MB / 1.063 GB, free: 64.12 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/1.04, allocations: 101.4 kB / 1.063 GB, free: 64.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06273/1.103, allocations: 24.43 MB / 1.087 GB, free: 61.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/1.103, allocations: 0 / 1.087 GB, free: 61.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.953e-05/1.103, allocations: 7.812 kB / 1.087 GB, free: 61.83 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.001346/1.104, allocations: 0.673 MB / 1.087 GB, free: 61.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/1.104, allocations: 14.94 kB / 1.087 GB, free: 61.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.105, allocations: 143.3 kB / 1.088 GB, free: 61.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/1.106, allocations: 322.8 kB / 1.088 GB, free: 61.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/1.106, allocations: 23.84 kB / 1.088 GB, free: 61.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/1.106, allocations: 42.17 kB / 1.088 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/1.107, allocations: 0.6126 MB / 1.089 GB, free: 60.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.107, allocations: 7.812 kB / 1.089 GB, free: 60.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/1.107, allocations: 22.45 kB / 1.089 GB, free: 60.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/1.107, allocations: 27.2 kB / 1.089 GB, free: 60.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/1.108, allocations: 477.4 kB / 1.089 GB, free: 60.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/1.11, allocations: 3.427 MB / 1.092 GB, free: 58.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/1.111, allocations: 375.6 kB / 1.093 GB, free: 58.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/1.111, allocations: 14.98 kB / 1.093 GB, free: 58.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.111, allocations: 34.52 kB / 1.093 GB, free: 58.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/1.111, allocations: 0 / 1.093 GB, free: 58.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003149/1.114, allocations: 1.293 MB / 1.094 GB, free: 57.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.114, allocations: 81.02 kB / 1.094 GB, free: 57.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/1.115, allocations: 289.3 kB / 1.094 GB, free: 57.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.115, allocations: 33.3 kB / 1.095 GB, free: 57.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.115, allocations: 256.7 kB / 1.095 GB, free: 57.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/1.115, allocations: 96.45 kB / 1.095 GB, free: 57.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/1.115, allocations: 15.41 kB / 1.095 GB, free: 57.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/1.115, allocations: 342.8 kB / 1.095 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/1.115, allocations: 175.5 kB / 1.095 GB, free: 57.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/1.115, allocations: 331.5 kB / 1.096 GB, free: 56.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/1.116, allocations: 226.3 kB / 1.096 GB, free: 56.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.116, allocations: 3.906 kB / 1.096 GB, free: 56.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001658/1.117, allocations: 0.8476 MB / 1.097 GB, free: 56.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000417/1.118, allocations: 2.095 MB / 1.099 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.118, allocations: 11.83 kB / 1.099 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/1.119, allocations: 416.1 kB / 1.099 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/1.12, allocations: 95.34 kB / 1.099 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008516/1.121, allocations: 1.263 MB / 1.1 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/1.121, allocations: 38.7 kB / 1.101 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/1.121, allocations: 22.84 kB / 1.101 GB, free: 53.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.121, allocations: 4.031 kB / 1.101 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005783/1.122, allocations: 481.3 kB / 1.101 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.122, allocations: 11.22 kB / 1.101 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.984e-06/1.122, allocations: 7.812 kB / 1.101 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.122, allocations: 110.9 kB / 1.101 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.122, allocations: 11.75 kB / 1.101 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/1.122, allocations: 33.47 kB / 1.101 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/1.122, allocations: 27.16 kB / 1.101 GB, free: 53.32 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.0002903/1.123, allocations: 265.1 kB / 1.101 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/1.123, allocations: 35.2 kB / 1.101 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.124, allocations: 0.677 MB / 1.102 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.124, allocations: 3.938 kB / 1.102 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.124, allocations: 0 / 1.102 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.124, allocations: 0 / 1.102 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/1.125, allocations: 0.6559 MB / 1.103 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.125, allocations: 0 / 1.103 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/1.125, allocations: 44.77 kB / 1.103 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/1.127, allocations: 404.6 kB / 1.103 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.127, allocations: 3.5 kB / 1.103 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/1.13, allocations: 3.559 MB / 1.107 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.13, allocations: 1.781 kB / 1.107 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/1.132, allocations: 0.8712 MB / 1.108 GB, free: 49.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/1.132, allocations: 147.1 kB / 1.108 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/1.132, allocations: 7.406 kB / 1.108 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/1.132, allocations: 34.11 kB / 1.108 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/1.132, allocations: 36.12 kB / 1.108 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/1.132, allocations: 7.812 kB / 1.108 GB, free: 49.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002112/1.133, allocations: 223.4 kB / 1.108 GB, free: 49.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.133, allocations: 3.906 kB / 1.108 GB, free: 49.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008711/1.134, allocations: 187.2 kB / 1.108 GB, free: 49.56 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.0002069/1.134, allocations: 128.9 kB / 1.108 GB, free: 49.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00124/1.135, allocations: 0.7217 MB / 1.109 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.135, allocations: 3.938 kB / 1.109 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/1.136, allocations: 473.6 kB / 1.109 GB, free: 49.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/1.136, allocations: 63.45 kB / 1.11 GB, free: 49.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/1.137, allocations: 0.9191 MB / 1.11 GB, free: 48.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/1.138, allocations: 0.8488 MB / 1.111 GB, free: 48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003855/1.138, allocations: 145.2 kB / 1.111 GB, free: 47.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/1.138, allocations: 23.06 kB / 1.111 GB, free: 47.97 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/1.138, allocations: 3.906 kB / 1.111 GB, free: 47.97 MB / 0.698 GB Notification: Performance of Templates: time 0.01078/1.149, allocations: 5.644 MB / 1.117 GB, free: 47.63 MB / 0.698 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