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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001559/0.001559, allocations: 184.1 kB / 492.3 MB, free: 0.6367 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.646/1.646, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009205/0.0009206, allocations: 91.92 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.536e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2645, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9841/1.249, allocations: 184.5 MB / 1.393 GB, free: 15.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.249, allocations: 100.3 kB / 1.393 GB, free: 15.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06866/1.318, allocations: 30.72 MB / 1.423 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.318, allocations: 0 / 1.423 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.277e-05/1.318, allocations: 12 kB / 1.423 GB, free: 5.223 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.001118/1.319, allocations: 0.6523 MB / 1.423 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.319, allocations: 8.031 kB / 1.423 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.218e-05/1.319, allocations: 78.72 kB / 1.423 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/1.32, allocations: 143.3 kB / 1.424 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/1.321, allocations: 326.2 kB / 1.424 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/1.321, allocations: 30.09 kB / 1.424 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.321, allocations: 36.81 kB / 1.424 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/1.322, allocations: 0.6026 MB / 1.425 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.322, allocations: 3.938 kB / 1.425 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/1.322, allocations: 14.62 kB / 1.425 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/1.322, allocations: 28.77 kB / 1.425 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/1.323, allocations: 465.2 kB / 1.425 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/1.326, allocations: 3.443 MB / 1.428 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/1.327, allocations: 368 kB / 1.429 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.327, allocations: 176.7 kB / 1.429 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/1.327, allocations: 7.984 kB / 1.429 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.327, allocations: 37.75 kB / 1.429 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/1.327, allocations: 0 / 1.429 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26): time 0.001938/1.329, allocations: 0.7463 MB / 1.43 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.329, allocations: 89.05 kB / 1.43 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/1.329, allocations: 293.6 kB / 1.43 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.33, allocations: 29.33 kB / 1.43 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.33, allocations: 253.5 kB / 1.43 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/1.33, allocations: 94.14 kB / 1.43 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/1.33, allocations: 11.56 kB / 1.43 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.33, allocations: 342.2 kB / 1.431 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/1.33, allocations: 170.2 kB / 1.431 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/1.33, allocations: 331.2 kB / 1.431 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.331, allocations: 229.5 kB / 1.431 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.331, allocations: 0 / 1.431 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001784/1.333, allocations: 0.8425 MB / 1.432 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007549/1.333, allocations: 2.096 MB / 1.434 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.333, allocations: 4 kB / 1.434 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/1.335, allocations: 416.3 kB / 1.435 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/1.335, allocations: 95.75 kB / 1.435 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/1.337, allocations: 1.258 MB / 1.436 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/1.337, allocations: 35.69 kB / 1.436 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/1.337, allocations: 27.86 kB / 1.436 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.337, allocations: 4.125 kB / 1.436 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007191/1.338, allocations: 463.3 kB / 1.437 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.338, allocations: 12.03 kB / 1.437 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.338, allocations: 12 kB / 1.437 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/1.338, allocations: 111.1 kB / 1.437 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/1.338, allocations: 11.94 kB / 1.437 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.338, allocations: 31.16 kB / 1.437 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.339, allocations: 23.8 kB / 1.437 GB, free: 7.805 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.0001586/1.339, allocations: 138.4 kB / 1.437 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.339, allocations: 35.61 kB / 1.437 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.341, allocations: 0.6628 MB / 1.438 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.341, allocations: 4 kB / 1.438 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.341, allocations: 3.938 kB / 1.438 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.341, allocations: 0 / 1.438 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.342, allocations: 0.6537 MB / 1.438 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.342, allocations: 0 / 1.438 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/1.342, allocations: 47.89 kB / 1.438 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/1.343, allocations: 404 kB / 1.439 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/1.343, allocations: 3.438 kB / 1.439 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/1.347, allocations: 3.478 MB / 1.442 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.347, allocations: 3.938 kB / 1.442 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.349, allocations: 0.862 MB / 1.443 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/1.349, allocations: 143.5 kB / 1.443 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/1.349, allocations: 7.188 kB / 1.443 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.35, allocations: 35.31 kB / 1.443 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/1.35, allocations: 31.23 kB / 1.443 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/1.35, allocations: 7.062 kB / 1.443 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000275/1.35, allocations: 227 kB / 1.443 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.4e-07/1.35, allocations: 0 / 1.443 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009948/1.351, allocations: 191.9 kB / 1.444 GB, free: 1.266 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.002509/1.354, allocations: 1.655 MB / 1.445 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.355, allocations: 0.718 MB / 1.446 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.355, allocations: 0 / 1.446 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007916/1.356, allocations: 488.1 kB / 1.446 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/1.357, allocations: 60.42 kB / 1.446 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.358, allocations: 0.6535 MB / 1.447 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/1.359, allocations: 0.8495 MB / 1.448 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004858/1.359, allocations: 151.2 kB / 1.448 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.359, allocations: 110.8 kB / 1.448 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/1.359, allocations: 0 / 1.448 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/1.389, allocations: 9.22 MB / 1.457 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/1.39, allocations: 199 kB / 1.457 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.639, allocations: 4 kB / 1.457 GB, free: 3.785 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat