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.263/2.263, allocations: 390.5 MB / 398 MB, free: 10.98 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.0012/0.0012, allocations: 175.8 kB / 491.2 MB, free: 1.594 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.544/1.544, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009785/0.0009785, allocations: 87.95 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.184e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.419, allocations: 150.5 MB / 1.359 GB, free: 17.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.419, allocations: 75.3 kB / 1.359 GB, free: 17.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01581/1.435, allocations: 6.402 MB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.435, allocations: 0 / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.435, allocations: 10.97 kB / 1.366 GB, free: 32.55 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.0008758/1.436, allocations: 0.6102 MB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/1.436, allocations: 15.47 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.436, allocations: 57.5 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/1.437, allocations: 329 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/1.437, allocations: 11.56 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/1.437, allocations: 23.09 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004282/1.437, allocations: 224.5 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/1.438, allocations: 321.3 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.438, allocations: 0 / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/1.438, allocations: 3.875 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/1.438, allocations: 7.75 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/1.44, allocations: 1.214 MB / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.44, allocations: 207.9 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.44, allocations: 133 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/1.44, allocations: 6.688 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/1.441, allocations: 159.9 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/1.441, allocations: 0 / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004178/1.441, allocations: 213.4 kB / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/1.441, allocations: 136.4 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/1.441, allocations: 249.3 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/1.441, allocations: 28.77 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/1.442, allocations: 232.5 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/1.442, allocations: 89.95 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/1.442, allocations: 0 / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.442, allocations: 347 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.442, allocations: 79.34 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/1.442, allocations: 160.7 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/1.442, allocations: 97.56 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.442, allocations: 4 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003708/1.443, allocations: 280.8 kB / 1.371 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002348/1.443, allocations: 0.5249 MB / 1.371 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.443, allocations: 0 / 1.371 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.443, allocations: 11.27 kB / 1.371 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/1.443, allocations: 74.28 kB / 1.371 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.443, allocations: 7.781 kB / 1.371 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/1.444, allocations: 46.77 kB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/1.444, allocations: 7.75 kB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/1.444, allocations: 5.125 kB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000298/1.444, allocations: 204.4 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/1.444, allocations: 3.875 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/1.444, allocations: 3.859 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/1.444, allocations: 58.77 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1.444, allocations: 7.75 kB / 1.372 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.444, allocations: 27.92 kB / 1.372 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/1.444, allocations: 11.44 kB / 1.372 GB, free: 29.48 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.0001077/1.444, allocations: 110 kB / 1.372 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003007/1.445, allocations: 214.6 kB / 1.372 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/1.445, allocations: 31.09 kB / 1.372 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/1.445, allocations: 165.3 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.445, allocations: 3.906 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.445, allocations: 0 / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.445, allocations: 0 / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/1.446, allocations: 0.9125 MB / 1.373 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.446, allocations: 11.81 kB / 1.373 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/1.447, allocations: 59.02 kB / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.447, allocations: 3.906 kB / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/1.447, allocations: 7.656 kB / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.447, allocations: 7.766 kB / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.447, allocations: 3.875 kB / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/1.447, allocations: 0.6905 MB / 1.374 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/1.447, allocations: 113.5 kB / 1.374 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/1.448, allocations: 7.828 kB / 1.374 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/1.448, allocations: 29.31 kB / 1.374 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/1.448, allocations: 21.8 kB / 1.374 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/1.448, allocations: 11.56 kB / 1.374 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002168/1.448, allocations: 195.9 kB / 1.374 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.448, allocations: 0 / 1.374 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005371/1.449, allocations: 134.6 kB / 1.374 GB, free: 28 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.001267/1.45, allocations: 2.056 MB / 1.376 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005052/1.45, allocations: 345.1 kB / 1.377 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.45, allocations: 0 / 1.377 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.451, allocations: 100.5 kB / 1.377 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.451, allocations: 68.25 kB / 1.377 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/1.452, allocations: 0.6175 MB / 1.377 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/1.453, allocations: 0.8154 MB / 1.378 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002019/1.453, allocations: 43.64 kB / 1.378 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/1.453, allocations: 131.1 kB / 1.378 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.453, allocations: 4 kB / 1.378 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.479, allocations: 5.83 MB / 1.384 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.479, allocations: 153.6 kB / 1.384 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/3.514, allocations: 0 / 1.384 GB, free: 24.48 MB / 0.8386 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