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.365/2.365, allocations: 390.5 MB / 398 MB, free: 10.92 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.001107/0.001107, allocations: 187.3 kB / 491.2 MB, free: 1.562 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.54/1.54, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001024/0.001024, allocations: 101.5 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.832e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.391, allocations: 184.6 MB / 1.393 GB, free: 14.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.391, allocations: 100.3 kB / 1.393 GB, free: 14.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07035/1.461, allocations: 30.6 MB / 1.423 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.461, allocations: 0 / 1.423 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.434e-05/1.461, allocations: 15.98 kB / 1.423 GB, free: 5.801 MB / 0.8386 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.001212/1.463, allocations: 0.6498 MB / 1.423 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.463, allocations: 8.031 kB / 1.423 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/1.464, allocations: 143.3 kB / 1.423 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/1.464, allocations: 329.9 kB / 1.424 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/1.464, allocations: 16 kB / 1.424 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/1.464, allocations: 20 kB / 1.424 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006156/1.465, allocations: 390.2 kB / 1.424 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/1.466, allocations: 0.5457 MB / 1.425 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.466, allocations: 4 kB / 1.425 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/1.466, allocations: 0 / 1.425 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/1.466, allocations: 32.39 kB / 1.425 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/1.469, allocations: 3.352 MB / 1.428 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/1.47, allocations: 359.3 kB / 1.428 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/1.47, allocations: 168.4 kB / 1.429 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/1.47, allocations: 7.984 kB / 1.429 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/1.47, allocations: 34.16 kB / 1.429 GB, free: 132 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/1.47, allocations: 3.938 kB / 1.429 GB, free: 128 kB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001783/1.472, allocations: 0.6606 MB / 1.429 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.472, allocations: 85.09 kB / 1.429 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/1.473, allocations: 256 kB / 1.43 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/1.473, allocations: 25.7 kB / 1.43 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/1.473, allocations: 266.2 kB / 1.43 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/1.473, allocations: 89.16 kB / 1.43 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/1.473, allocations: 0 / 1.43 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.473, allocations: 347 kB / 1.43 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.473, allocations: 158.2 kB / 1.43 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/1.474, allocations: 324.5 kB / 1.431 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/1.474, allocations: 243.6 kB / 1.431 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.474, allocations: 0 / 1.431 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001635/1.476, allocations: 0.7324 MB / 1.432 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.477, allocations: 2.096 MB / 1.434 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.477, allocations: 4 kB / 1.434 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.478, allocations: 243.7 kB / 1.434 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.479, allocations: 95.19 kB / 1.434 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/1.48, allocations: 1.258 MB / 1.435 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/1.48, allocations: 35.84 kB / 1.435 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/1.48, allocations: 27.56 kB / 1.435 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.48, allocations: 4 kB / 1.435 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007722/1.481, allocations: 439 kB / 1.436 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.481, allocations: 4 kB / 1.436 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.481, allocations: 15.94 kB / 1.436 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/1.482, allocations: 111.2 kB / 1.436 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.482, allocations: 11.94 kB / 1.436 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.482, allocations: 24.36 kB / 1.436 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/1.482, allocations: 23.55 kB / 1.436 GB, free: 9.016 MB / 0.8542 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.0001737/1.482, allocations: 120.8 kB / 1.436 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00165/1.484, allocations: 0.6258 MB / 1.437 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/1.484, allocations: 35.66 kB / 1.437 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.486, allocations: 0.6546 MB / 1.437 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.486, allocations: 4 kB / 1.437 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.486, allocations: 7.984 kB / 1.437 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.486, allocations: 0 / 1.437 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.487, allocations: 0.5956 MB / 1.438 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.487, allocations: 4.094 kB / 1.438 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.487, allocations: 46.53 kB / 1.438 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/1.489, allocations: 398.5 kB / 1.438 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/1.489, allocations: 4 kB / 1.438 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/1.493, allocations: 3.325 MB / 1.442 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.493, allocations: 8 kB / 1.442 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.495, allocations: 0.8516 MB / 1.442 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/1.495, allocations: 142.8 kB / 1.443 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/1.495, allocations: 4 kB / 1.443 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/1.495, allocations: 35.94 kB / 1.443 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/1.495, allocations: 19.59 kB / 1.443 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/1.495, allocations: 15.27 kB / 1.443 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002509/1.496, allocations: 199.7 kB / 1.443 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.645e-06/1.496, allocations: 4 kB / 1.443 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009932/1.497, allocations: 175.3 kB / 1.443 GB, free: 2.176 MB / 0.8542 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.002612/1.499, allocations: 1.651 MB / 1.445 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.501, allocations: 0.6835 MB / 1.445 GB, free: 84 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.501, allocations: 0 / 1.445 GB, free: 84 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/1.501, allocations: 448.5 kB / 1.446 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/1.502, allocations: 56.69 kB / 1.446 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.503, allocations: 0.6263 MB / 1.446 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.504, allocations: 0.8519 MB / 1.447 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004486/1.504, allocations: 151.2 kB / 1.447 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.504, allocations: 111.6 kB / 1.447 GB, free: 14 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/1.504, allocations: 0 / 1.447 GB, free: 14 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/1.533, allocations: 8.455 MB / 1.456 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.533, allocations: 156.5 kB / 1.456 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.742, allocations: 2.031 kB / 1.456 GB, free: 5.406 MB / 0.8698 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