Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.482/2.482, allocations: 390.5 MB / 398 MB, free: 11 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.001083/0.001083, allocations: 167.8 kB / 491.2 MB, free: 1.633 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.831/1.831, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009546/0.0009543, allocations: 99.25 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.466e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.565, allocations: 153.2 MB / 1.362 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/1.566, allocations: 87.03 kB / 1.362 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01948/1.585, allocations: 8.064 MB / 1.37 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.294e-06/1.585, allocations: 0 / 1.37 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.988e-05/1.585, allocations: 15.52 kB / 1.37 GB, free: 32.86 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008858/1.586, allocations: 0.6294 MB / 1.371 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.586, allocations: 11.31 kB / 1.371 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.586, allocations: 54.5 kB / 1.371 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/1.587, allocations: 366.9 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.587, allocations: 23.69 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/1.587, allocations: 26.34 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003721/1.587, allocations: 221.7 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/1.588, allocations: 325.4 kB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.588, allocations: 0 / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/1.588, allocations: 0 / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/1.588, allocations: 11.59 kB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.59, allocations: 1.224 MB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/1.59, allocations: 258.6 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/1.59, allocations: 128.6 kB / 1.373 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/1.59, allocations: 3.75 kB / 1.373 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/1.591, allocations: 155.4 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/1.591, allocations: 0 / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003778/1.591, allocations: 216.1 kB / 1.374 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.591, allocations: 139.8 kB / 1.374 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/1.591, allocations: 269.8 kB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/1.591, allocations: 25.7 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/1.591, allocations: 242.6 kB / 1.374 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/1.592, allocations: 90.39 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/1.592, allocations: 0 / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.592, allocations: 348.2 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.592, allocations: 73 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/1.592, allocations: 158.5 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/1.592, allocations: 94.53 kB / 1.375 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.592, allocations: 0 / 1.375 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003787/1.592, allocations: 267.3 kB / 1.375 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/1.593, allocations: 0.5349 MB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.593, allocations: 3.938 kB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.593, allocations: 7.859 kB / 1.376 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/1.593, allocations: 67.72 kB / 1.376 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.593, allocations: 3.812 kB / 1.376 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.593, allocations: 48.7 kB / 1.376 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/1.593, allocations: 14.08 kB / 1.376 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/1.593, allocations: 3.906 kB / 1.376 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002522/1.594, allocations: 197.5 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/1.594, allocations: 3.906 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/1.594, allocations: 0 / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.594, allocations: 55.77 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.594, allocations: 6.953 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/1.594, allocations: 26.67 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/1.594, allocations: 15.11 kB / 1.376 GB, free: 29.77 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 9.387e-05/1.594, allocations: 109.8 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002685/1.594, allocations: 220 kB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/1.594, allocations: 34.97 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.488e-05/1.594, allocations: 34.23 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.594, allocations: 3.812 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.594, allocations: 7.047 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.594, allocations: 0 / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/1.595, allocations: 0.8482 MB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.595, allocations: 3.844 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/1.596, allocations: 65.34 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/1.596, allocations: 3.812 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.596, allocations: 3.969 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/1.596, allocations: 10.38 kB / 1.377 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.596, allocations: 4.234 kB / 1.377 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/1.596, allocations: 0.6686 MB / 1.378 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/1.596, allocations: 114.8 kB / 1.378 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/1.596, allocations: 6.797 kB / 1.378 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/1.597, allocations: 18.3 kB / 1.378 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/1.597, allocations: 31 kB / 1.378 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/1.597, allocations: 7.656 kB / 1.378 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001906/1.597, allocations: 212.1 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.51e-07/1.597, allocations: 0 / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005185/1.597, allocations: 124 kB / 1.379 GB, free: 28.39 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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.001192/1.599, allocations: 1.891 MB / 1.38 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004888/1.599, allocations: 328.5 kB / 1.381 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.599, allocations: 0 / 1.381 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/1.599, allocations: 97.88 kB / 1.381 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/1.6, allocations: 85.45 kB / 1.381 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.601, allocations: 0.6277 MB / 1.382 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/1.601, allocations: 0.8237 MB / 1.382 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002328/1.602, allocations: 54.45 kB / 1.382 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/1.602, allocations: 143.9 kB / 1.383 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/1.602, allocations: 0 / 1.383 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/1.63, allocations: 6.323 MB / 1.389 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.631, allocations: 175.1 kB / 1.389 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/4.057, allocations: 0 / 1.389 GB, free: 23.43 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat