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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.7991, allocations: 142.3 MB / 0.9539 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.0008652/0.8, allocations: 430.5 kB / 0.9543 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007376/0.8008, allocations: 0.795 MB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.8008, allocations: 5.5 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.8009, allocations: 3.938 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.8009, allocations: 1.062 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.313e-05/0.801, allocations: 13.11 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.8011, allocations: 34.73 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.8012, allocations: 12.58 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.8012, allocations: 9.094 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.8013, allocations: 20.28 kB / 0.9552 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.8013, allocations: 6.188 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.8013, allocations: 2.656 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.8014, allocations: 7.984 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.8014, allocations: 32.11 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.351e-05/0.8014, allocations: 25.28 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8015, allocations: 4.938 kB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8015, allocations: 0 / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.8015, allocations: 0 / 0.9552 GB, free: 7.031 MB / 0.7169 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.0004434/0.8019, allocations: 374.1 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.802, allocations: 9.375 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.802, allocations: 30.56 kB / 0.9556 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.802, allocations: 11.27 kB / 0.9556 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.8021, allocations: 168.5 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.8022, allocations: 1.719 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.8022, allocations: 5.531 kB / 0.9558 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.8024, allocations: 84.7 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8024, allocations: 0 / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8024, allocations: 4 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.8025, allocations: 1.156 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.8027, allocations: 90.16 kB / 0.956 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.803, allocations: 267.6 kB / 0.9562 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.8032, allocations: 62.89 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.8034, allocations: 59.69 kB / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.8034, allocations: 4 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.8034, allocations: 31.66 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8034, allocations: 4 kB / 0.9564 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004782/0.8039, allocations: 159.3 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.8039, allocations: 56.33 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.804, allocations: 107.5 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.804, allocations: 25.7 kB / 0.9567 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.8041, allocations: 90.55 kB / 0.9568 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.8041, allocations: 12.91 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.8041, allocations: 0 / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.8041, allocations: 316 kB / 0.9571 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.8043, allocations: 47.27 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.8044, allocations: 47.77 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.8045, allocations: 46.27 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8045, allocations: 0 / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002749/0.8048, allocations: 116.3 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8048, allocations: 7.375 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8048, allocations: 0 / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8049, allocations: 3.953 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.805, allocations: 18.92 kB / 0.9574 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.805, allocations: 1.219 kB / 0.9574 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.8051, allocations: 23.12 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8051, allocations: 1.281 kB / 0.9574 GB, free: 5.047 MB / 0.7169 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 5.328e-05/0.8051, allocations: 115.3 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.8052, allocations: 10.66 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.8052, allocations: 9.188 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8052, allocations: 3.953 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8052, allocations: 4 kB / 0.9576 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.8052, allocations: 1.312 kB / 0.9576 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.8053, allocations: 173.4 kB / 0.9577 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8053, allocations: 0 / 0.9577 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.8054, allocations: 19.45 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8054, allocations: 0 / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8054, allocations: 1.062 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8055, allocations: 0 / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8055, allocations: 3.953 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.8058, allocations: 219.6 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.8058, allocations: 82.42 kB / 0.958 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.8058, allocations: 5.375 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.8059, allocations: 15.27 kB / 0.9581 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.806, allocations: 14.08 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.806, allocations: 5.047 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.806, allocations: 84.62 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.806, allocations: 0 / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002085/0.8062, allocations: 11.66 kB / 0.9582 GB, free: 4.305 MB / 0.7169 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.000492/0.8067, allocations: 0.7434 MB / 0.9589 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.807, allocations: 92.67 kB / 0.959 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.807, allocations: 4 kB / 0.959 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.8072, allocations: 46.17 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.8075, allocations: 4.344 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.8079, allocations: 165.5 kB / 0.9592 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.808, allocations: 0.6844 MB / 0.9599 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.8081, allocations: 1.844 kB / 0.9599 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.8081, allocations: 12.53 kB / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8081, allocations: 0 / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.8191, allocations: 1.296 MB / 0.9611 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/0.8193, allocations: 192.9 kB / 0.9613 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.508, allocations: 0 / 0.9613 GB, free: 1.828 MB / 0.7169 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