Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.405/2.405, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001101/0.001101, allocations: 182.5 kB / 0.4901 GB, free: 2.246 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.495/1.495, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.001126/0.001126, allocations: 101.6 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003417, allocations: 14.53 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2462, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4295, allocations: 150.7 MB / 1.376 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4298, allocations: 83.94 kB / 1.376 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.4445, allocations: 4.359 MB / 1.381 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4446, allocations: 0 / 1.381 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.4446, allocations: 0 / 1.381 GB, free: 10.09 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000546/0.4452, allocations: 391.8 kB / 1.381 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4452, allocations: 8.562 kB / 1.381 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.4453, allocations: 34.5 kB / 1.381 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.4454, allocations: 4 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4455, allocations: 171 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.4455, allocations: 0 / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.4455, allocations: 8 kB / 1.381 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4457, allocations: 49.69 kB / 1.381 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4458, allocations: 3.984 kB / 1.381 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4458, allocations: 7.938 kB / 1.381 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4458, allocations: 0 / 1.381 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.446, allocations: 43.97 kB / 1.381 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4464, allocations: 276.8 kB / 1.382 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.4466, allocations: 42.56 kB / 1.382 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.4473, allocations: 461.5 kB / 1.382 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4473, allocations: 38.55 kB / 1.382 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.4473, allocations: 0 / 1.382 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0004122/0.4477, allocations: 101.7 kB / 1.382 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4478, allocations: 55.39 kB / 1.382 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.4479, allocations: 101 kB / 1.382 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4479, allocations: 25.7 kB / 1.382 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.448, allocations: 80.14 kB / 1.383 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.448, allocations: 3.906 kB / 1.383 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.448, allocations: 4 kB / 1.383 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4481, allocations: 318.8 kB / 1.383 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.4482, allocations: 20.02 kB / 1.383 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.4483, allocations: 23.98 kB / 1.383 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.145e-05/0.4484, allocations: 28.03 kB / 1.383 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4484, allocations: 4 kB / 1.383 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002298/0.4487, allocations: 73.61 kB / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4487, allocations: 5.094 kB / 1.383 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4487, allocations: 0 / 1.383 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4487, allocations: 4.031 kB / 1.383 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.4488, allocations: 15.98 kB / 1.383 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4489, allocations: 256 / 1.383 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.4489, allocations: 7.984 kB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.4489, allocations: 7.953 kB / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/0.449, allocations: 113.8 kB / 1.383 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.4491, allocations: 7.906 kB / 1.383 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.4493, allocations: 81.19 kB / 1.383 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4493, allocations: 0 / 1.383 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4494, allocations: 0 / 1.383 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4494, allocations: 3.938 kB / 1.383 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.4495, allocations: 173.6 kB / 1.383 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4495, allocations: 0 / 1.383 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.4496, allocations: 19.92 kB / 1.383 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4496, allocations: 0 / 1.383 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.4496, allocations: 0 / 1.383 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4496, allocations: 0 / 1.383 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4496, allocations: 0 / 1.383 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.4499, allocations: 179.5 kB / 1.384 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.45, allocations: 81.09 kB / 1.384 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.45, allocations: 0 / 1.384 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.4501, allocations: 11.98 kB / 1.384 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.4501, allocations: 4.031 kB / 1.384 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.4501, allocations: 0 / 1.384 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.4502, allocations: 87.27 kB / 1.384 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4502, allocations: 0 / 1.384 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002574/0.4505, allocations: 23.94 kB / 1.384 GB, free: 6.539 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007033/0.4512, allocations: 0.7248 MB / 1.385 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.4514, allocations: 47.98 kB / 1.385 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4514, allocations: 4 kB / 1.385 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.4515, allocations: 27.92 kB / 1.385 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4517, allocations: 0 / 1.385 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.4522, allocations: 150.7 kB / 1.385 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4525, allocations: 0.6848 MB / 1.385 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.4526, allocations: 3.984 kB / 1.385 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.4526, allocations: 19.38 kB / 1.385 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.4526, allocations: 0 / 1.385 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.465, allocations: 1.296 MB / 1.387 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.4653, allocations: 183.1 kB / 1.387 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.037, allocations: 0 / 1.387 GB, free: 3.375 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat does not exist to compare? outputFormat=mat