Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",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.232/2.232, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.00114/0.001141, allocations: 173 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001056/0.001056, allocations: 87.97 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.221e-05/4.267e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3021, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8967/1.199, allocations: 149.5 MB / 1.365 GB, free: 4.488 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.199, allocations: 74.22 kB / 1.365 GB, free: 4.445 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002343/1.202, allocations: 0.8026 MB / 1.366 GB, free: 3.703 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/1.202, allocations: 8 kB / 1.366 GB, free: 3.695 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.202, allocations: 0 / 1.366 GB, free: 3.695 MB / 0.823 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.0004886/1.202, allocations: 365.3 kB / 1.366 GB, free: 3.297 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.202, allocations: 8.031 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/1.202, allocations: 33.75 kB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/1.202, allocations: 12.69 kB / 1.366 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.202, allocations: 171 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/1.202, allocations: 0 / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/1.202, allocations: 0 / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/1.203, allocations: 48.25 kB / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.203, allocations: 0 / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/1.203, allocations: 3.125 kB / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.203, allocations: 0 / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/1.203, allocations: 22.31 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/1.203, allocations: 269.9 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.142e-05/1.203, allocations: 37.2 kB / 1.367 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/1.203, allocations: 19.23 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/1.203, allocations: 0 / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/1.203, allocations: 34.64 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.203, allocations: 8 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001551/1.203, allocations: 51.72 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.203, allocations: 60.17 kB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/1.203, allocations: 103 kB / 1.367 GB, free: 2.344 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.204, allocations: 29.64 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/1.204, allocations: 87.33 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/1.204, allocations: 7.812 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.204, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.204, allocations: 326.1 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/1.204, allocations: 7.25 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/1.204, allocations: 8.906 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/1.204, allocations: 7.125 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.204, allocations: 0 / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.089e-05/1.204, allocations: 51.69 kB / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.204, allocations: 4 kB / 1.367 GB, free: 1.824 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.204, allocations: 4 kB / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.204, allocations: 0 / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/1.204, allocations: 23.92 kB / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.204, allocations: 4 kB / 1.367 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/1.204, allocations: 22.75 kB / 1.368 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.204, allocations: 0 / 1.368 GB, free: 1.773 MB / 0.823 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 () * 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 6.399e-05/1.204, allocations: 105 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/1.204, allocations: 7.906 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/1.204, allocations: 10.91 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/1.204, allocations: 0 / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.204, allocations: 0 / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.204, allocations: 0 / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/1.205, allocations: 167.8 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.205, allocations: 3.938 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/1.205, allocations: 23.97 kB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.205, allocations: 0 / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/1.205, allocations: 7.625 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.205, allocations: 0 / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.205, allocations: 4 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/1.205, allocations: 146.6 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/1.205, allocations: 85.02 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.205, allocations: 0 / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.205, allocations: 19.98 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/1.205, allocations: 7.234 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/1.205, allocations: 4 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.307e-05/1.205, allocations: 83.42 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.205, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002044/1.205, allocations: 11.94 kB / 1.368 GB, free: 1.031 MB / 0.823 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 () * 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.0004479/1.206, allocations: 0.6878 MB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/1.206, allocations: 23.84 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.206, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/1.206, allocations: 15.25 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/1.206, allocations: 4.688 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/1.207, allocations: 110 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.207, allocations: 0.6848 MB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.583e-05/1.207, allocations: 3.984 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/1.207, allocations: 17.86 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of SimCode: time 2.014e-06/1.207, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/1.22, allocations: 1.298 MB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.221, allocations: 164.8 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.726, allocations: 0 / 1.371 GB, free: 14.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat