Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.0009792/0.0009789, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000964/0.0009641, allocations: 177.3 kB / 15.95 MB, free: 216 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.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.406/2.406, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003928, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8818, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009862/0.8829, allocations: 424.4 kB / 0.954 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.8838, allocations: 0.7958 MB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.8838, allocations: 1.25 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.8839, allocations: 3.938 kB / 0.9548 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.8839, allocations: 13.45 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.519e-05/0.884, allocations: 9.078 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.8841, allocations: 24.34 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.8842, allocations: 3.969 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.8843, allocations: 17.17 kB / 0.9549 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.8843, allocations: 20.53 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.8843, allocations: 2.688 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.8843, allocations: 1.375 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.8844, allocations: 13.31 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.8844, allocations: 31.2 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.623e-05/0.8844, allocations: 29.2 kB / 0.955 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.8845, allocations: 0.9375 kB / 0.955 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8845, allocations: 0 / 0.955 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8845, allocations: 0 / 0.955 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.0004489/0.8849, allocations: 372.8 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.885, allocations: 9.906 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.885, allocations: 31.53 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.8851, allocations: 9.172 kB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.527e-05/0.8851, allocations: 162.7 kB / 0.9555 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.8851, allocations: 5.109 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.8852, allocations: 5.531 kB / 0.9555 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.8854, allocations: 87.77 kB / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8854, allocations: 0 / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.8855, allocations: 1.062 kB / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.8855, allocations: 0 / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.8858, allocations: 87.7 kB / 0.9557 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.8861, allocations: 270.2 kB / 0.956 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.8863, allocations: 70.69 kB / 0.956 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.8863, allocations: 0 / 0.956 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.8863, allocations: 36.06 kB / 0.9561 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8864, allocations: 0 / 0.9561 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005363/0.8869, allocations: 162.6 kB / 0.9562 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.8869, allocations: 52.56 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.887, allocations: 107.7 kB / 0.9564 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.887, allocations: 29.7 kB / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.8871, allocations: 89.45 kB / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.8871, allocations: 13.22 kB / 0.9565 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.8871, allocations: 5.344 kB / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.8872, allocations: 316.4 kB / 0.9568 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.8873, allocations: 41.72 kB / 0.9568 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.8875, allocations: 43.3 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.8876, allocations: 43.03 kB / 0.9569 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8876, allocations: 0 / 0.9569 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003677/0.888, allocations: 116.7 kB / 0.957 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.888, allocations: 5.938 kB / 0.957 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.888, allocations: 0 / 0.957 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8881, allocations: 3.953 kB / 0.957 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.8882, allocations: 26.84 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8882, allocations: 1.094 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.8883, allocations: 16.05 kB / 0.9571 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.8883, allocations: 0 / 0.9571 GB, free: 5.082 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.86e-05/0.8884, allocations: 120.2 kB / 0.9572 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.8884, allocations: 6.375 kB / 0.9572 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.8884, allocations: 8.844 kB / 0.9572 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8885, allocations: 4 kB / 0.9572 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8885, allocations: 5.016 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8885, allocations: 3.938 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.8886, allocations: 165.5 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8886, allocations: 0 / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/0.8887, allocations: 23.08 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.8887, allocations: 1.188 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.8887, allocations: 4 kB / 0.9574 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8887, allocations: 5.125 kB / 0.9574 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8888, allocations: 336 / 0.9574 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.8891, allocations: 218.9 kB / 0.9576 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.8892, allocations: 83.11 kB / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.8892, allocations: 3.938 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8893, allocations: 20.23 kB / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.8893, allocations: 9.859 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.8893, allocations: 1.094 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.8894, allocations: 93.09 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8894, allocations: 0 / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002132/0.8896, allocations: 6.062 kB / 0.9578 GB, free: 4.336 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.0005498/0.8902, allocations: 0.7467 MB / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.8905, allocations: 94.23 kB / 0.9586 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8905, allocations: 0 / 0.9586 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.8907, allocations: 46.3 kB / 0.9587 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.8909, allocations: 4.781 kB / 0.9587 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.8913, allocations: 166.1 kB / 0.9589 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.8914, allocations: 0.6811 MB / 0.9595 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.8915, allocations: 1.688 kB / 0.9595 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.8915, allocations: 20.77 kB / 0.9595 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8915, allocations: 4 kB / 0.9595 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.9029, allocations: 1.262 MB / 0.9608 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.9031, allocations: 181.5 kB / 0.961 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.57, allocations: 4 kB / 0.961 GB, free: 1.863 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat