Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.412/2.412, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.00211/0.00211, allocations: 185.7 kB / 0.4901 GB, free: 2.227 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.673/1.673, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009197/0.0009197, allocations: 94.39 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 11.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.5464, allocations: 185.4 MB / 1.41 GB, free: 16 kB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.5468, allocations: 108 kB / 1.41 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7669/1.314, allocations: 30.89 MB / 1.441 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.234e-06/1.314, allocations: 0 / 1.441 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.541e-05/1.314, allocations: 17.56 kB / 1.441 GB, free: 184.9 MB / 0.9167 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.001821/1.316, allocations: 0.6729 MB / 1.441 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.316, allocations: 10.5 kB / 1.441 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/1.316, allocations: 82.02 kB / 1.441 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.317, allocations: 147 kB / 1.441 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/1.318, allocations: 326.4 kB / 1.442 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/1.318, allocations: 30.55 kB / 1.442 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.318, allocations: 34.59 kB / 1.442 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.319, allocations: 0.6065 MB / 1.442 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/1.319, allocations: 1.625 kB / 1.442 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/1.32, allocations: 20.81 kB / 1.442 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.874e-05/1.32, allocations: 26.97 kB / 1.442 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/1.321, allocations: 482.8 kB / 1.443 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/1.324, allocations: 3.423 MB / 1.446 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/1.325, allocations: 380.6 kB / 1.447 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/1.325, allocations: 6.469 kB / 1.447 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/1.325, allocations: 32.97 kB / 1.447 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/1.325, allocations: 3.984 kB / 1.447 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.003772/1.329, allocations: 1.289 MB / 1.448 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.329, allocations: 80.27 kB / 1.448 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/1.33, allocations: 302.1 kB / 1.448 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/1.33, allocations: 35.08 kB / 1.448 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/1.33, allocations: 267.1 kB / 1.449 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/1.33, allocations: 98.27 kB / 1.449 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/1.33, allocations: 8.938 kB / 1.449 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.33, allocations: 339.1 kB / 1.449 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/1.33, allocations: 175 kB / 1.449 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/1.331, allocations: 330.1 kB / 1.449 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/1.331, allocations: 244 kB / 1.45 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.331, allocations: 2.094 kB / 1.45 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002132/1.333, allocations: 0.845 MB / 1.451 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005226/1.334, allocations: 2.092 MB / 1.453 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.334, allocations: 5.406 kB / 1.453 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/1.336, allocations: 418 kB / 1.453 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/1.336, allocations: 96.47 kB / 1.453 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/1.337, allocations: 1.259 MB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/1.338, allocations: 46.5 kB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.338, allocations: 20.97 kB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.338, allocations: 3.844 kB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009084/1.339, allocations: 471.7 kB / 1.455 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.339, allocations: 8.922 kB / 1.455 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.339, allocations: 9.531 kB / 1.455 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/1.339, allocations: 105.5 kB / 1.455 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.339, allocations: 19.41 kB / 1.455 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/1.34, allocations: 28.58 kB / 1.455 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/1.34, allocations: 28.86 kB / 1.455 GB, free: 176.4 MB / 0.9167 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.0003542/1.34, allocations: 274.4 kB / 1.455 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.34, allocations: 32.56 kB / 1.455 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/1.342, allocations: 0.6749 MB / 1.456 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.342, allocations: 4.219 kB / 1.456 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.342, allocations: 0 / 1.456 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.342, allocations: 0.7812 kB / 1.456 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/1.343, allocations: 0.647 MB / 1.457 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.343, allocations: 1.344 kB / 1.457 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/1.344, allocations: 50.84 kB / 1.457 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/1.345, allocations: 406.5 kB / 1.457 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/1.345, allocations: 6.688 kB / 1.457 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/1.35, allocations: 3.563 MB / 1.461 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.35, allocations: 1.125 kB / 1.461 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/1.353, allocations: 0.8664 MB / 1.461 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/1.354, allocations: 143.7 kB / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/1.354, allocations: 11.3 kB / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/1.355, allocations: 39.11 kB / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.355, allocations: 24.5 kB / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.355, allocations: 14.84 kB / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006545/1.356, allocations: 227.2 kB / 1.462 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.31e-07/1.356, allocations: 0 / 1.462 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002225/1.358, allocations: 197.1 kB / 1.462 GB, free: 172.7 MB / 0.9167 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.003621/1.361, allocations: 1.657 MB / 1.464 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.364, allocations: 0.7126 MB / 1.464 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.364, allocations: 1.875 kB / 1.464 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.365, allocations: 493.2 kB / 1.465 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/1.366, allocations: 66.75 kB / 1.465 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/1.375, allocations: 6.063 MB / 1.471 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/1.376, allocations: 0.8513 MB / 1.472 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000659/1.377, allocations: 138.3 kB / 1.472 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/1.377, allocations: 118.9 kB / 1.472 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/1.377, allocations: 0 / 1.472 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/1.4, allocations: 8.939 MB / 1.481 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.4, allocations: 226.5 kB / 1.481 GB, free: 162.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.689, allocations: 5.031 kB / 1.481 GB, free: 162.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat