Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.436/2.436, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.002208/0.002208, allocations: 168 kB / 0.4901 GB, free: 2.242 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.534/1.534, 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.0009549/0.000955, allocations: 106.9 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003865, allocations: 12.03 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.286, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.4907, allocations: 181.7 MB / 1.407 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4911, allocations: 103.9 kB / 1.407 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7037/1.195, allocations: 25.79 MB / 1.432 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.555e-06/1.195, allocations: 2.719 kB / 1.432 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.264e-05/1.195, allocations: 14.5 kB / 1.432 GB, free: 182.7 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.001192/1.196, allocations: 0.6721 MB / 1.433 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.196, allocations: 17.28 kB / 1.433 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/1.196, allocations: 81.25 kB / 1.433 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.197, allocations: 142 kB / 1.433 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/1.198, allocations: 323.5 kB / 1.433 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/1.198, allocations: 30.5 kB / 1.433 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.198, allocations: 38.16 kB / 1.433 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.199, allocations: 0.6124 MB / 1.434 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/1.199, allocations: 5.859 kB / 1.434 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/1.199, allocations: 20.17 kB / 1.434 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/1.199, allocations: 31.06 kB / 1.434 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/1.2, allocations: 477 kB / 1.434 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/1.204, allocations: 3.424 MB / 1.438 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/1.205, allocations: 379.6 kB / 1.438 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/1.205, allocations: 8.5 kB / 1.438 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/1.205, allocations: 37.88 kB / 1.438 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/1.205, allocations: 0 / 1.438 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.004046/1.209, allocations: 1.295 MB / 1.439 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.21, allocations: 82.34 kB / 1.439 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/1.21, allocations: 287.4 kB / 1.44 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/1.21, allocations: 33.89 kB / 1.44 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/1.21, allocations: 261.3 kB / 1.44 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.611e-05/1.21, allocations: 96.95 kB / 1.44 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/1.21, allocations: 9.656 kB / 1.44 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/1.21, allocations: 341.9 kB / 1.44 GB, free: 178 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/1.211, allocations: 174.5 kB / 1.441 GB, free: 178 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/1.211, allocations: 336.3 kB / 1.441 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/1.211, allocations: 232 kB / 1.441 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.211, allocations: 1.406 kB / 1.441 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002152/1.214, allocations: 0.8466 MB / 1.442 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004396/1.214, allocations: 2.094 MB / 1.444 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.214, allocations: 6.062 kB / 1.444 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/1.216, allocations: 412.5 kB / 1.444 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/1.216, allocations: 96.48 kB / 1.445 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/1.217, allocations: 1.256 MB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/1.218, allocations: 42.41 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/1.218, allocations: 25.23 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.218, allocations: 2.844 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007789/1.219, allocations: 482.6 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.219, allocations: 15.44 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.219, allocations: 8.812 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/1.219, allocations: 113.2 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.219, allocations: 9.484 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/1.22, allocations: 26.88 kB / 1.446 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/1.22, allocations: 22.19 kB / 1.446 GB, free: 174.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.0003217/1.22, allocations: 276.5 kB / 1.447 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.22, allocations: 32.47 kB / 1.447 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/1.222, allocations: 0.6765 MB / 1.447 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/1.222, allocations: 2.125 kB / 1.447 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/1.222, allocations: 0 / 1.447 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/1.222, allocations: 6.281 kB / 1.447 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/1.224, allocations: 0.6524 MB / 1.448 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.224, allocations: 1.094 kB / 1.448 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/1.224, allocations: 45.25 kB / 1.448 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/1.226, allocations: 406.1 kB / 1.449 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.226, allocations: 3.125 kB / 1.449 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003961/1.23, allocations: 3.576 MB / 1.452 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.23, allocations: 1.094 kB / 1.452 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/1.232, allocations: 0.8591 MB / 1.453 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/1.232, allocations: 149.7 kB / 1.453 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/1.232, allocations: 0 / 1.453 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/1.232, allocations: 35.41 kB / 1.453 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/1.232, allocations: 33.83 kB / 1.453 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/1.232, allocations: 12.31 kB / 1.453 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002793/1.233, allocations: 224.6 kB / 1.453 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.483e-06/1.233, allocations: 0 / 1.453 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001186/1.234, allocations: 195.2 kB / 1.453 GB, free: 170.6 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.002508/1.236, allocations: 1.654 MB / 1.455 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.238, allocations: 0.7168 MB / 1.456 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.238, allocations: 1.125 kB / 1.456 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/1.239, allocations: 485.3 kB / 1.456 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/1.24, allocations: 65.67 kB / 1.456 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/1.246, allocations: 6.076 MB / 1.462 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/1.246, allocations: 0.8491 MB / 1.463 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004723/1.246, allocations: 137.6 kB / 1.463 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.247, allocations: 113.4 kB / 1.463 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/1.247, allocations: 0 / 1.463 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/1.273, allocations: 8.923 MB / 1.472 GB, free: 163.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/1.273, allocations: 209.5 kB / 1.472 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.503, allocations: 0 / 1.472 GB, free: 163.3 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat