Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001054/0.001054, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 95.89 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.34e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3132, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.327, allocations: 151.1 MB / 1.366 GB, free: 2.859 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.327, allocations: 76.44 kB / 1.367 GB, free: 2.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01628/1.344, allocations: 6.452 MB / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.535e-06/1.344, allocations: 0 / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.039e-05/1.344, allocations: 8 kB / 1.373 GB, free: 13.3 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0009737/1.345, allocations: 0.6145 MB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.345, allocations: 8.031 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/1.345, allocations: 74.72 kB / 1.374 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/1.345, allocations: 55.3 kB / 1.374 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/1.345, allocations: 333.2 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/1.345, allocations: 37.83 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/1.346, allocations: 38.31 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/1.346, allocations: 374.2 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.346, allocations: 0 / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/1.346, allocations: 16 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/1.346, allocations: 12 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/1.347, allocations: 247 kB / 1.375 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/1.349, allocations: 1.305 MB / 1.376 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/1.349, allocations: 230.1 kB / 1.376 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/1.349, allocations: 138.1 kB / 1.376 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.349, allocations: 3.984 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/1.349, allocations: 167.2 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/1.349, allocations: 4 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004158/1.35, allocations: 241.5 kB / 1.377 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/1.35, allocations: 128.5 kB / 1.377 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/1.35, allocations: 347.9 kB / 1.377 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/1.35, allocations: 38.45 kB / 1.377 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/1.351, allocations: 222.5 kB / 1.377 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/1.351, allocations: 95.5 kB / 1.377 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/1.351, allocations: 3 kB / 1.377 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.351, allocations: 350.9 kB / 1.378 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/1.351, allocations: 85.31 kB / 1.378 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/1.351, allocations: 167.6 kB / 1.378 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/1.351, allocations: 99.42 kB / 1.378 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.351, allocations: 4 kB / 1.378 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004346/1.352, allocations: 310.8 kB / 1.378 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/1.352, allocations: 0.5304 MB / 1.379 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.352, allocations: 4 kB / 1.379 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.352, allocations: 4 kB / 1.379 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/1.352, allocations: 75.58 kB / 1.379 GB, free: 7.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.352, allocations: 7.938 kB / 1.379 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/1.353, allocations: 58.97 kB / 1.379 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.353, allocations: 8 kB / 1.379 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/1.353, allocations: 4 kB / 1.379 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003609/1.353, allocations: 233 kB / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/1.353, allocations: 0 / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/1.353, allocations: 4 kB / 1.379 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/1.353, allocations: 58.91 kB / 1.379 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.353, allocations: 4 kB / 1.379 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/1.354, allocations: 47.27 kB / 1.379 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.354, allocations: 10.75 kB / 1.379 GB, free: 7.562 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0001218/1.354, allocations: 128 kB / 1.38 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/1.354, allocations: 35.53 kB / 1.38 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/1.354, allocations: 180.7 kB / 1.38 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.354, allocations: 4 kB / 1.38 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.354, allocations: 0 / 1.38 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.354, allocations: 11.94 kB / 1.38 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.355, allocations: 0.9994 MB / 1.381 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.355, allocations: 4 kB / 1.381 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/1.356, allocations: 59.41 kB / 1.381 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/1.356, allocations: 8 kB / 1.381 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/1.356, allocations: 14.64 kB / 1.381 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.356, allocations: 8.281 kB / 1.381 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.356, allocations: 8 kB / 1.381 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/1.357, allocations: 0.7146 MB / 1.382 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.357, allocations: 125.7 kB / 1.382 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/1.357, allocations: 11.52 kB / 1.382 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/1.357, allocations: 35.22 kB / 1.382 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/1.357, allocations: 18.67 kB / 1.382 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.357, allocations: 23.42 kB / 1.382 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002904/1.357, allocations: 273.1 kB / 1.382 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.357, allocations: 0 / 1.382 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004669/1.358, allocations: 132.9 kB / 1.382 GB, free: 5.039 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001543/1.359, allocations: 2.101 MB / 1.384 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006251/1.36, allocations: 360.4 kB / 1.384 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.36, allocations: 0 / 1.384 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/1.36, allocations: 104.1 kB / 1.385 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/1.361, allocations: 85.33 kB / 1.385 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.362, allocations: 0.6497 MB / 1.385 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/1.363, allocations: 0.8159 MB / 1.386 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002337/1.363, allocations: 59.45 kB / 1.386 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.363, allocations: 136.5 kB / 1.386 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.363, allocations: 0 / 1.386 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/1.385, allocations: 7.174 MB / 1.393 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.385, allocations: 176.1 kB / 1.393 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.527, allocations: 1.688 kB / 1.393 GB, free: 9.793 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat does not exist to compare? outputFormat=mat