Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",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.44/2.44, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001315/0.001315, allocations: 172.9 kB / 487.4 MB, free: 5.035 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.583/1.583, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.000951, allocations: 90.86 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.447e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2806, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.964/1.245, allocations: 148 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/1.245, allocations: 71.61 kB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002176/1.247, allocations: 0.5961 MB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/1.247, allocations: 7.938 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.247, allocations: 0 / 1.351 GB, free: 33.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000337/1.247, allocations: 338.2 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.247, allocations: 7.688 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/1.248, allocations: 5.328 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/1.248, allocations: 167.7 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.248, allocations: 3.938 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/1.248, allocations: 7.844 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.764e-05/1.248, allocations: 7.328 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.487e-05/1.248, allocations: 38.06 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.248, allocations: 0 / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/1.248, allocations: 0 / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/1.248, allocations: 3.875 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/1.248, allocations: 253.4 kB / 1.352 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/1.248, allocations: 22.62 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/1.248, allocations: 12.67 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/1.248, allocations: 0.6094 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/1.248, allocations: 33.62 kB / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.248, allocations: 0 / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/1.249, allocations: 41.97 kB / 1.352 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.249, allocations: 56.09 kB / 1.352 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/1.249, allocations: 100.2 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/1.249, allocations: 26.36 kB / 1.352 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/1.249, allocations: 84.78 kB / 1.352 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/1.249, allocations: 4.609 kB / 1.352 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/1.249, allocations: 0 / 1.352 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.249, allocations: 324.4 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/1.249, allocations: 4.031 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/1.249, allocations: 7.562 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.698e-05/1.249, allocations: 4.547 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.249, allocations: 0.5156 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.594e-05/1.249, allocations: 38.11 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.249, allocations: 7.906 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.249, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.249, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/1.249, allocations: 14.91 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/1.249, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/1.249, allocations: 14.41 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/1.249, allocations: 0 / 1.353 GB, free: 32.27 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 (2): * Single equations (assignments): 2 * 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 6.122e-05/1.249, allocations: 112.4 kB / 1.353 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.966e-05/1.249, allocations: 42.38 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/1.249, allocations: 0.7969 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/1.249, allocations: 9.781 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.249, allocations: 3.906 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.249, allocations: 0 / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/1.249, allocations: 0 / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/1.25, allocations: 139.8 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.25, allocations: 0 / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/1.25, allocations: 13.27 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.25, allocations: 1.281 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.25, allocations: 0.7031 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.25, allocations: 0 / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.25, allocations: 5.312 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.764e-05/1.25, allocations: 144.3 kB / 1.353 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/1.25, allocations: 88.58 kB / 1.353 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/1.25, allocations: 4.547 kB / 1.353 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/1.25, allocations: 8.562 kB / 1.353 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.25, allocations: 2.906 kB / 1.353 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/1.25, allocations: 4.031 kB / 1.353 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.722e-05/1.25, allocations: 83.2 kB / 1.353 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.25, allocations: 0 / 1.353 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002053/1.25, allocations: 3.938 kB / 1.353 GB, free: 31.62 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 (2): * Single equations (assignments): 2 * 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.0005221/1.251, allocations: 0.6705 MB / 1.354 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.504e-05/1.251, allocations: 18.98 kB / 1.354 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.251, allocations: 1.281 kB / 1.354 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/1.251, allocations: 3.938 kB / 1.354 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.251, allocations: 12.16 kB / 1.354 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/1.252, allocations: 84.61 kB / 1.354 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/1.252, allocations: 0.6781 MB / 1.355 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.045e-05/1.252, allocations: 6.078 kB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/1.252, allocations: 8.75 kB / 1.355 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.252, allocations: 0 / 1.355 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/1.271, allocations: 0.7073 MB / 1.356 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.272, allocations: 158.2 kB / 1.356 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.768, allocations: 0 / 1.356 GB, free: 29.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat