Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",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.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001047/0.001047, allocations: 186.5 kB / 0.4902 GB, free: 2.211 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.546/1.546, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009468/0.0009467, allocations: 98.66 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 15.53 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3426, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.5427, allocations: 150.1 MB / 1.376 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.543, allocations: 71.95 kB / 1.376 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003432/0.5464, allocations: 1.083 MB / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5464, allocations: 0 / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.5465, allocations: 0 / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005267/0.547, allocations: 383.1 kB / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.5471, allocations: 8.562 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.5471, allocations: 38.56 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.5471, allocations: 0 / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.5473, allocations: 182.8 kB / 1.378 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.5473, allocations: 8 kB / 1.378 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.5473, allocations: 3.938 kB / 1.378 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.5476, allocations: 89.64 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5476, allocations: 0 / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5477, allocations: 3.984 kB / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5477, allocations: 0 / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.548, allocations: 103.9 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.5486, allocations: 324.8 kB / 1.378 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.5489, allocations: 78.52 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.5491, allocations: 105.2 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5491, allocations: 34.56 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.5491, allocations: 0 / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005892/0.5497, allocations: 193.4 kB / 1.378 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5497, allocations: 55.36 kB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.5498, allocations: 117 kB / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5499, allocations: 25.7 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.5499, allocations: 92.14 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.55, allocations: 15.73 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.55, allocations: 0 / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5501, allocations: 318.8 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5503, allocations: 47.95 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.5504, allocations: 51.95 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.5506, allocations: 51.95 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5506, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003466/0.5509, allocations: 137.5 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.551, allocations: 4 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.551, allocations: 3.938 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.551, allocations: 4 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5512, allocations: 19.98 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5512, allocations: 0 / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.5513, allocations: 27.83 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5513, allocations: 4 kB / 1.379 GB, free: 15.55 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 (3): * Single equations (assignments): 3 * 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 0.0001079/0.5514, allocations: 117.8 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.5515, allocations: 0 / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.5519, allocations: 149.5 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5519, allocations: 3.984 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.552, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.552, allocations: 3.938 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.5522, allocations: 181.6 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5522, allocations: 0 / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.5523, allocations: 23.98 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/0.5524, allocations: 4 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.5524, allocations: 4 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5524, allocations: 3.938 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5524, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.5528, allocations: 235.7 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.5529, allocations: 89.05 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.553, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5531, allocations: 19.98 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.5531, allocations: 7.984 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5532, allocations: 4 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.5532, allocations: 95.27 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.954e-06/0.5532, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002291/0.5535, allocations: 15.94 kB / 1.38 GB, free: 14.5 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 (3): * Single equations (assignments): 3 * 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.0007988/0.5543, allocations: 0.7733 MB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.5547, allocations: 95.92 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5547, allocations: 4 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5548, allocations: 59.89 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.555, allocations: 9.656 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.5555, allocations: 190.3 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.5558, allocations: 0.6926 MB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.5558, allocations: 8 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.5559, allocations: 11.44 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/0.5559, allocations: 0 / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.5691, allocations: 1.517 MB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5693, allocations: 183.6 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.122, allocations: 3.656 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat does not exist to compare? outputFormat=mat