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.0008264/0.0008266, 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.0009259/0.000926, 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.312 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.507/2.507, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003434, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7971, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008786/0.798, allocations: 426.2 kB / 0.9543 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000762/0.7988, allocations: 0.7964 MB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.7988, allocations: 0 / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.7989, allocations: 5 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.7989, allocations: 9.031 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.295e-05/0.799, allocations: 9.266 kB / 0.9551 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.7991, allocations: 34.58 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.7992, allocations: 7.203 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.7992, allocations: 17.86 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.7993, allocations: 16.89 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.7993, allocations: 2.25 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.7993, allocations: 1.25 kB / 0.9552 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.7994, allocations: 5.375 kB / 0.9552 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.7994, allocations: 36.05 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.917e-05/0.7994, allocations: 33.41 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7994, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7995, allocations: 1.531 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.7995, allocations: 0 / 0.9552 GB, free: 7.027 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.0004233/0.7999, allocations: 369.3 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.7999, allocations: 9.531 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.8, allocations: 31.62 kB / 0.9556 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.8, allocations: 13.86 kB / 0.9556 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/0.8001, allocations: 169.1 kB / 0.9558 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.8001, allocations: 1 kB / 0.9558 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.8001, allocations: 1.812 kB / 0.9558 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.8004, allocations: 84.31 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.8004, allocations: 0 / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.8004, allocations: 1.188 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8004, allocations: 1.25 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.8007, allocations: 93.48 kB / 0.956 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.801, allocations: 267.7 kB / 0.9562 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.8012, allocations: 70.23 kB / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.8014, allocations: 55.03 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.8014, allocations: 1.25 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.8014, allocations: 31.78 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8014, allocations: 0 / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004857/0.8019, allocations: 170.3 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.8019, allocations: 52.47 kB / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.702e-05/0.802, allocations: 107.5 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.802, allocations: 25.7 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.802, allocations: 90.27 kB / 0.9568 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.8021, allocations: 13.06 kB / 0.9568 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.8021, allocations: 0 / 0.9568 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.8021, allocations: 324 kB / 0.9571 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.8023, allocations: 39.19 kB / 0.9572 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.8024, allocations: 42.84 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.8025, allocations: 38.86 kB / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8025, allocations: 0 / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002755/0.8028, allocations: 121.1 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8028, allocations: 9 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8028, allocations: 0 / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8029, allocations: 5.391 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.803, allocations: 22.72 kB / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.803, allocations: 0 / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.8031, allocations: 16.39 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.8031, allocations: 9.438 kB / 0.9574 GB, free: 5.043 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 4.851e-05/0.8031, allocations: 115.2 kB / 0.9575 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.8032, allocations: 5.406 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.8032, allocations: 9.312 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8032, allocations: 5.391 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8032, allocations: 0 / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8032, allocations: 0 / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.8033, allocations: 173 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8033, allocations: 5.344 kB / 0.9577 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/0.8034, allocations: 22.77 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8034, allocations: 0 / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.8035, allocations: 1.188 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8035, allocations: 0 / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8035, allocations: 4.953 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.8038, allocations: 215 kB / 0.9579 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.8038, allocations: 86.11 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.8038, allocations: 5 kB / 0.958 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8039, allocations: 17.05 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.804, allocations: 9.141 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.804, allocations: 5.141 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.804, allocations: 84.59 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.804, allocations: 0 / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002106/0.8042, allocations: 6.688 kB / 0.9582 GB, free: 4.309 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.0005324/0.8048, allocations: 0.7476 MB / 0.9589 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.8051, allocations: 92.48 kB / 0.959 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8051, allocations: 1.844 kB / 0.959 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.8053, allocations: 53.86 kB / 0.959 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.8056, allocations: 2.969 kB / 0.959 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.806, allocations: 166.4 kB / 0.9592 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.8061, allocations: 0.6837 MB / 0.9599 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.8061, allocations: 1.375 kB / 0.9599 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.8062, allocations: 12.81 kB / 0.9599 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8062, allocations: 0 / 0.9599 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.8179, allocations: 1.283 MB / 0.9611 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.8182, allocations: 195.9 kB / 0.9613 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.585, allocations: 0 / 0.9613 GB, free: 1.82 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