Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.581/2.581, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.00122/0.00122, allocations: 172.9 kB / 492.3 MB, free: 0.6328 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.672/1.672, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001078/0.001078, allocations: 91.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.726e-05, allocations: 6.109 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2675, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.606, allocations: 153.1 MB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.606, allocations: 87.62 kB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01949/1.626, allocations: 8.129 MB / 1.37 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.626, allocations: 0 / 1.37 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.477e-05/1.626, allocations: 11.53 kB / 1.37 GB, free: 34.24 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.001039/1.627, allocations: 0.6265 MB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/1.627, allocations: 11.53 kB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/1.627, allocations: 78.95 kB / 1.371 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/1.627, allocations: 54.44 kB / 1.371 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/1.628, allocations: 363.1 kB / 1.371 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/1.628, allocations: 29.81 kB / 1.371 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/1.628, allocations: 43.5 kB / 1.371 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/1.629, allocations: 382.3 kB / 1.372 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.629, allocations: 7.938 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/1.629, allocations: 17.97 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/1.629, allocations: 7.719 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/1.629, allocations: 242.9 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/1.631, allocations: 1.326 MB / 1.373 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/1.632, allocations: 274.9 kB / 1.373 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/1.632, allocations: 141.2 kB / 1.374 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/1.632, allocations: 0 / 1.374 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/1.632, allocations: 165.7 kB / 1.374 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/1.632, allocations: 0 / 1.374 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004351/1.633, allocations: 241.1 kB / 1.374 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/1.633, allocations: 132.3 kB / 1.374 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/1.633, allocations: 358.6 kB / 1.374 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/1.633, allocations: 29.02 kB / 1.374 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/1.633, allocations: 234 kB / 1.375 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/1.633, allocations: 100.5 kB / 1.375 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/1.634, allocations: 10.38 kB / 1.375 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.634, allocations: 347.3 kB / 1.375 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/1.634, allocations: 85.09 kB / 1.375 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/1.634, allocations: 160.1 kB / 1.375 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/1.634, allocations: 101.5 kB / 1.375 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.634, allocations: 0 / 1.375 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003977/1.635, allocations: 300.9 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/1.635, allocations: 0.5342 MB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.635, allocations: 3.844 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.635, allocations: 11.78 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/1.635, allocations: 66.5 kB / 1.376 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.635, allocations: 0 / 1.376 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/1.635, allocations: 58.33 kB / 1.376 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/1.635, allocations: 13.89 kB / 1.376 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/1.635, allocations: 7.969 kB / 1.376 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003069/1.636, allocations: 225.5 kB / 1.377 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/1.636, allocations: 3.844 kB / 1.377 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/1.636, allocations: 3.844 kB / 1.377 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.636, allocations: 54.55 kB / 1.377 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.636, allocations: 6.406 kB / 1.377 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/1.636, allocations: 40.38 kB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/1.636, allocations: 19.34 kB / 1.377 GB, free: 31.04 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.0001145/1.636, allocations: 131.1 kB / 1.377 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/1.636, allocations: 37.7 kB / 1.377 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/1.636, allocations: 44.53 kB / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.636, allocations: 3.812 kB / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.636, allocations: 0 / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.636, allocations: 3.875 kB / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/1.638, allocations: 0.9432 MB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.638, allocations: 3.844 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/1.638, allocations: 64.45 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.638, allocations: 7.656 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/1.638, allocations: 6.688 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.638, allocations: 6.172 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.638, allocations: 7.828 kB / 1.378 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/1.639, allocations: 0.6782 MB / 1.379 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/1.639, allocations: 135.4 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/1.639, allocations: 7.719 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/1.639, allocations: 22.11 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/1.639, allocations: 35.52 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/1.639, allocations: 7.875 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000279/1.639, allocations: 289.9 kB / 1.379 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.639, allocations: 0 / 1.379 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005213/1.64, allocations: 130.3 kB / 1.379 GB, free: 29.68 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.001202/1.641, allocations: 1.925 MB / 1.381 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005116/1.642, allocations: 359.7 kB / 1.381 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.642, allocations: 0 / 1.381 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/1.642, allocations: 108 kB / 1.382 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/1.642, allocations: 91.23 kB / 1.382 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/1.644, allocations: 0.6513 MB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/1.644, allocations: 0.819 MB / 1.383 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002378/1.644, allocations: 67.59 kB / 1.383 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.644, allocations: 144 kB / 1.383 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.644, allocations: 0 / 1.383 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/1.665, allocations: 7.643 MB / 1.391 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.665, allocations: 185.5 kB / 1.391 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.99, allocations: 1.875 kB / 1.391 GB, free: 23.84 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat