Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.363/2.363, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.00119/0.00119, allocations: 187.3 kB / 498.1 MB, free: 5.684 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.7/1.7, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.0009063/0.0009063, allocations: 102.7 kB / 0.9346 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 9.5 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2871, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.5129, allocations: 184.6 MB / 1.403 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5132, allocations: 107.9 kB / 1.403 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7079/1.221, allocations: 30.9 MB / 1.433 GB, free: 174.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.325e-06/1.221, allocations: 4 kB / 1.433 GB, free: 174.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.306e-05/1.221, allocations: 8.219 kB / 1.433 GB, free: 174.2 MB / 0.9011 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.001186/1.222, allocations: 0.6764 MB / 1.434 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.223, allocations: 12.86 kB / 1.434 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.224, allocations: 144.7 kB / 1.434 GB, free: 173.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/1.224, allocations: 332.9 kB / 1.435 GB, free: 173.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/1.224, allocations: 27.56 kB / 1.435 GB, free: 173.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/1.224, allocations: 35.88 kB / 1.435 GB, free: 173.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/1.225, allocations: 0.6091 MB / 1.435 GB, free: 173 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.225, allocations: 1.281 kB / 1.435 GB, free: 173 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/1.225, allocations: 16.09 kB / 1.435 GB, free: 173 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/1.225, allocations: 32.17 kB / 1.435 GB, free: 173 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/1.226, allocations: 478.1 kB / 1.436 GB, free: 172.9 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/1.229, allocations: 3.427 MB / 1.439 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/1.23, allocations: 378.9 kB / 1.439 GB, free: 170 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/1.23, allocations: 7.781 kB / 1.439 GB, free: 170 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/1.23, allocations: 35.56 kB / 1.439 GB, free: 170 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/1.23, allocations: 1.312 kB / 1.439 GB, free: 170 MB / 0.9011 GB Notification: Performance of matching and sorting (n=26): time 0.003453/1.233, allocations: 1.285 MB / 1.441 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/1.233, allocations: 80.27 kB / 1.441 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.234, allocations: 289.8 kB / 1.441 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.234, allocations: 31.77 kB / 1.441 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.234, allocations: 264.5 kB / 1.441 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/1.234, allocations: 97.08 kB / 1.441 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/1.234, allocations: 8.5 kB / 1.441 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/1.234, allocations: 341.3 kB / 1.442 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/1.234, allocations: 173.2 kB / 1.442 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/1.235, allocations: 337.5 kB / 1.442 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/1.235, allocations: 230.5 kB / 1.442 GB, free: 168 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.235, allocations: 2 kB / 1.442 GB, free: 168 MB / 0.9011 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001894/1.237, allocations: 0.8474 MB / 1.443 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/1.237, allocations: 2.098 MB / 1.445 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.237, allocations: 5.094 kB / 1.445 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/1.239, allocations: 424.7 kB / 1.446 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/1.24, allocations: 93.33 kB / 1.446 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000894/1.24, allocations: 1.259 MB / 1.447 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/1.241, allocations: 37.97 kB / 1.447 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/1.241, allocations: 24.73 kB / 1.447 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.241, allocations: 4.5 kB / 1.447 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007412/1.242, allocations: 481.7 kB / 1.448 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.242, allocations: 9.156 kB / 1.448 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.242, allocations: 8.688 kB / 1.448 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/1.242, allocations: 104.3 kB / 1.448 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.242, allocations: 12.11 kB / 1.448 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/1.243, allocations: 38.08 kB / 1.448 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/1.243, allocations: 21.03 kB / 1.448 GB, free: 163.6 MB / 0.9011 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.0003558/1.243, allocations: 275.3 kB / 1.448 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.243, allocations: 31.75 kB / 1.448 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/1.245, allocations: 0.6801 MB / 1.449 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.245, allocations: 3.906 kB / 1.449 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/1.245, allocations: 0 / 1.449 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.245, allocations: 0 / 1.449 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/1.246, allocations: 0.6556 MB / 1.449 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.246, allocations: 3.984 kB / 1.449 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.246, allocations: 42.91 kB / 1.449 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/1.247, allocations: 409.5 kB / 1.45 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.247, allocations: 4 kB / 1.45 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/1.251, allocations: 3.552 MB / 1.453 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.251, allocations: 3.906 kB / 1.453 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/1.252, allocations: 0.8677 MB / 1.454 GB, free: 158.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/1.253, allocations: 144.2 kB / 1.454 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/1.253, allocations: 8 kB / 1.454 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/1.253, allocations: 43.55 kB / 1.454 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/1.253, allocations: 23.72 kB / 1.454 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/1.253, allocations: 3.938 kB / 1.454 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002487/1.253, allocations: 229.8 kB / 1.455 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.583e-06/1.253, allocations: 0 / 1.455 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001025/1.254, allocations: 201 kB / 1.455 GB, free: 158.1 MB / 0.9011 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.0002017/1.255, allocations: 131.5 kB / 1.455 GB, free: 157.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.256, allocations: 0.7147 MB / 1.456 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.256, allocations: 1.938 kB / 1.456 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/1.257, allocations: 495 kB / 1.456 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/1.257, allocations: 58.83 kB / 1.456 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.258, allocations: 0.9195 MB / 1.457 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/1.259, allocations: 0.8507 MB / 1.458 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003923/1.259, allocations: 135.1 kB / 1.458 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/1.259, allocations: 31.44 kB / 1.458 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of SimCode: time 8.01e-07/1.259, allocations: 0 / 1.458 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.008891/1.268, allocations: 5.65 MB / 1.464 GB, free: 149.7 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches