Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_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.001361/0.001361, allocations: 91.69 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.001976/0.001976, 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.43 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.338/2.338, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.706, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009016/0.707, allocations: 440.8 kB / 0.9543 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.7079, allocations: 0.7995 MB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.7079, allocations: 1.156 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.7079, allocations: 0 / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.708, allocations: 12.92 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.307e-05/0.7081, allocations: 8.953 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.668e-05/0.7082, allocations: 43.45 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.7083, allocations: 3.906 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.7083, allocations: 22.97 kB / 0.9552 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.7084, allocations: 20.66 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.7084, allocations: 2.375 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.7084, allocations: 6.375 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.7084, allocations: 1.125 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.7085, allocations: 34.92 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.358e-05/0.7085, allocations: 30.89 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7085, allocations: 0 / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7085, allocations: 0 / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.7085, allocations: 5 kB / 0.9553 GB, free: 7.02 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.0004158/0.709, allocations: 378.1 kB / 0.9556 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.709, allocations: 13.7 kB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.7091, allocations: 31.78 kB / 0.9557 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.7091, allocations: 6.641 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.7092, allocations: 173.5 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.7092, allocations: 0.9375 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.7092, allocations: 2.156 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.7094, allocations: 89.08 kB / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.7095, allocations: 0 / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.7095, allocations: 0 / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7095, allocations: 1.344 kB / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.7097, allocations: 86.11 kB / 0.956 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.71, allocations: 281.9 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.7102, allocations: 71.06 kB / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.7104, allocations: 57.34 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.7104, allocations: 0 / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.7104, allocations: 31.75 kB / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.7104, allocations: 0 / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004763/0.7109, allocations: 164.4 kB / 0.9566 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.7109, allocations: 51.41 kB / 0.9566 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.711, allocations: 122 kB / 0.9567 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.711, allocations: 26.64 kB / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.711, allocations: 90.48 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.7111, allocations: 5.344 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.7111, allocations: 4 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.7111, allocations: 320.3 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.7113, allocations: 38.72 kB / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.7114, allocations: 47.89 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.7115, allocations: 38.22 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7115, allocations: 6.688 kB / 0.9573 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002855/0.7118, allocations: 119.1 kB / 0.9574 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7119, allocations: 5.594 kB / 0.9574 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7119, allocations: 0 / 0.9574 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7119, allocations: 5.203 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.712, allocations: 29.84 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.712, allocations: 0.9688 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.7121, allocations: 19.7 kB / 0.9575 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.7121, allocations: 1.281 kB / 0.9575 GB, free: 5.008 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.279e-05/0.7122, allocations: 111.8 kB / 0.9576 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.7122, allocations: 2.125 kB / 0.9576 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.7122, allocations: 14.09 kB / 0.9576 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7122, allocations: 3.953 kB / 0.9576 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7122, allocations: 1.25 kB / 0.9576 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7122, allocations: 3.984 kB / 0.9576 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.7124, allocations: 169.9 kB / 0.9578 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7124, allocations: 0 / 0.9578 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-05/0.7125, allocations: 19.86 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7125, allocations: 0 / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.7125, allocations: 5.047 kB / 0.9578 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7125, allocations: 3.984 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7125, allocations: 5.047 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.7128, allocations: 223.5 kB / 0.958 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.7129, allocations: 78.89 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.7129, allocations: 5.812 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.713, allocations: 18.12 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.713, allocations: 3 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.713, allocations: 3.953 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.7131, allocations: 95.2 kB / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7131, allocations: 0 / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002141/0.7133, allocations: 10.19 kB / 0.9582 GB, free: 4.27 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.0004862/0.7138, allocations: 0.7502 MB / 0.9589 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.7141, allocations: 102.9 kB / 0.959 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7141, allocations: 0 / 0.959 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.7143, allocations: 46.75 kB / 0.9591 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.7145, allocations: 5.719 kB / 0.9591 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.7149, allocations: 172.8 kB / 0.9593 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.715, allocations: 0.6841 MB / 0.9599 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.7151, allocations: 1.531 kB / 0.9599 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.7151, allocations: 12.94 kB / 0.9599 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.7151, allocations: 0 / 0.9599 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.7257, allocations: 1.347 MB / 0.9613 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.7259, allocations: 197.3 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.38, allocations: 3.797 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat