Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001684/0.001684, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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.732/1.732, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001108/0.001108, allocations: 99.94 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.104e-05/5.128e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 142.3 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.452, allocations: 148.7 MB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.452, allocations: 72.17 kB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002942/1.455, allocations: 0.8073 MB / 1.359 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.455, allocations: 4 kB / 1.359 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.455, allocations: 0 / 1.359 GB, free: 34.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000402/1.456, allocations: 363.5 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.456, allocations: 7.781 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/1.456, allocations: 39.16 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/1.456, allocations: 7.688 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/1.456, allocations: 172 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/1.456, allocations: 0.6562 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/1.456, allocations: 2.812 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/1.456, allocations: 47.39 kB / 1.359 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.456, allocations: 0 / 1.359 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.456, allocations: 3.984 kB / 1.359 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.456, allocations: 0 / 1.359 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/1.456, allocations: 18.03 kB / 1.359 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/1.456, allocations: 290 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/1.457, allocations: 26.45 kB / 1.36 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/1.457, allocations: 23.25 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/1.457, allocations: 0.6562 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/1.457, allocations: 30.56 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/1.457, allocations: 4 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001622/1.457, allocations: 54.39 kB / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/1.457, allocations: 52.11 kB / 1.36 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/1.457, allocations: 102 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/1.457, allocations: 28.83 kB / 1.36 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/1.457, allocations: 89.19 kB / 1.36 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/1.457, allocations: 8.516 kB / 1.36 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/1.457, allocations: 0 / 1.36 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/1.457, allocations: 316.7 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/1.457, allocations: 10.78 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/1.457, allocations: 9.719 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/1.457, allocations: 12.41 kB / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.457, allocations: 0 / 1.36 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.316e-05/1.457, allocations: 56.03 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.457, allocations: 3.906 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.457, allocations: 3.844 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.457, allocations: 0 / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/1.458, allocations: 24.88 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.458, allocations: 0 / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/1.458, allocations: 16.38 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.458, allocations: 4.75 kB / 1.36 GB, free: 33.05 MB / 0.8386 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 5.827e-05/1.458, allocations: 102.2 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/1.458, allocations: 15.19 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/1.458, allocations: 5.484 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.458, allocations: 1.422 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.458, allocations: 3.844 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.458, allocations: 0.7031 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/1.458, allocations: 174.5 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.458, allocations: 0 / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.458, allocations: 20.28 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.458, allocations: 4 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.458, allocations: 0.5625 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/1.458, allocations: 0 / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.458, allocations: 0.7969 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/1.458, allocations: 156.6 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/1.458, allocations: 85.55 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/1.458, allocations: 0 / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/1.458, allocations: 24.41 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/1.459, allocations: 2.203 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/1.459, allocations: 3.844 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.873e-05/1.459, allocations: 84.16 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.459, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002095/1.459, allocations: 11.78 kB / 1.361 GB, free: 32.41 MB / 0.8386 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.0004313/1.459, allocations: 0.6883 MB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.826e-05/1.459, allocations: 25.88 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.459, allocations: 0 / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/1.459, allocations: 11.38 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/1.46, allocations: 5.719 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/1.46, allocations: 110.5 kB / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.46, allocations: 0.6863 MB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.441e-05/1.46, allocations: 0.75 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/1.46, allocations: 15.91 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.46, allocations: 0 / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/1.474, allocations: 1.283 MB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.474, allocations: 163.4 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.951, allocations: 0 / 1.364 GB, free: 30.54 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat