Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.683/2.683, allocations: 390.5 MB / 398 MB, free: 10.93 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.001136/0.001136, allocations: 168.8 kB / 491.2 MB, free: 1.57 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.761/1.761, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.00132/0.00132, allocations: 87.95 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.457e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3521, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.435, allocations: 151 MB / 1.36 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/1.436, allocations: 77.52 kB / 1.36 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03196/1.468, allocations: 13.68 MB / 1.373 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.525e-06/1.468, allocations: 0 / 1.373 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.259e-05/1.468, allocations: 27.25 kB / 1.373 GB, free: 32.22 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001477/1.469, allocations: 1.019 MB / 1.374 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.469, allocations: 7.75 kB / 1.374 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/1.469, allocations: 120 kB / 1.374 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/1.47, allocations: 0.527 MB / 1.375 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/1.47, allocations: 27.12 kB / 1.375 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/1.47, allocations: 61.03 kB / 1.375 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008846/1.471, allocations: 497.4 kB / 1.376 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/1.472, allocations: 0.6863 MB / 1.376 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.472, allocations: 0 / 1.376 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/1.472, allocations: 3.062 kB / 1.376 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/1.472, allocations: 22.88 kB / 1.376 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/1.476, allocations: 2.452 MB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/1.477, allocations: 1.199 MB / 1.38 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/1.477, allocations: 337.4 kB / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/1.477, allocations: 12.48 kB / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/1.477, allocations: 292.2 kB / 1.38 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.004e-06/1.477, allocations: 0 / 1.38 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0007716/1.478, allocations: 0.4917 MB / 1.381 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/1.478, allocations: 166.6 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/1.479, allocations: 397.7 kB / 1.381 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/1.479, allocations: 25.7 kB / 1.381 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.479, allocations: 399 kB / 1.382 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/1.479, allocations: 247.8 kB / 1.382 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/1.479, allocations: 0 / 1.382 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.479, allocations: 374.7 kB / 1.382 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/1.48, allocations: 180 kB / 1.383 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/1.48, allocations: 284.9 kB / 1.383 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/1.48, allocations: 206.5 kB / 1.383 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.48, allocations: 3.875 kB / 1.383 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007083/1.481, allocations: 0.551 MB / 1.384 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/1.481, allocations: 180.8 kB / 1.384 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.481, allocations: 3.984 kB / 1.384 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.481, allocations: 3.75 kB / 1.384 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/1.482, allocations: 166.8 kB / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.482, allocations: 0 / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/1.482, allocations: 95.38 kB / 1.384 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/1.482, allocations: 30.48 kB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/1.482, allocations: 4.969 kB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005426/1.483, allocations: 431.8 kB / 1.385 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/1.483, allocations: 0 / 1.385 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/1.483, allocations: 3.969 kB / 1.385 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/1.483, allocations: 138.3 kB / 1.385 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/1.483, allocations: 7.875 kB / 1.385 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.484, allocations: 58.56 kB / 1.385 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.484, allocations: 22.28 kB / 1.385 GB, free: 27.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0001225/1.484, allocations: 113.6 kB / 1.385 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000602/1.484, allocations: 0.4901 MB / 1.385 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/1.484, allocations: 70.19 kB / 1.385 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/1.485, allocations: 0.5177 MB / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.485, allocations: 7.5 kB / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.485, allocations: 0 / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.485, allocations: 3.984 kB / 1.386 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/1.487, allocations: 1.471 MB / 1.387 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.487, allocations: 7.469 kB / 1.387 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/1.488, allocations: 147.9 kB / 1.387 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.488, allocations: 3.844 kB / 1.387 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/1.488, allocations: 14.94 kB / 1.387 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.488, allocations: 3.906 kB / 1.388 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.488, allocations: 3.812 kB / 1.388 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.489, allocations: 0.9762 MB / 1.388 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/1.489, allocations: 143.1 kB / 1.389 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/1.489, allocations: 11.8 kB / 1.389 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/1.489, allocations: 54.11 kB / 1.389 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/1.489, allocations: 39.91 kB / 1.389 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/1.489, allocations: 30.33 kB / 1.389 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002821/1.49, allocations: 301.7 kB / 1.389 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.49, allocations: 3.906 kB / 1.389 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006794/1.49, allocations: 279.2 kB / 1.389 GB, free: 25.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.001449/1.492, allocations: 1.943 MB / 1.391 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009315/1.493, allocations: 0.7578 MB / 1.392 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.493, allocations: 7.781 kB / 1.392 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/1.493, allocations: 262.9 kB / 1.392 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/1.494, allocations: 108.4 kB / 1.392 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/1.496, allocations: 1.263 MB / 1.394 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.496, allocations: 1.005 MB / 1.394 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004189/1.497, allocations: 105.1 kB / 1.395 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/1.497, allocations: 323.4 kB / 1.395 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.497, allocations: 0 / 1.395 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/1.532, allocations: 12.76 MB / 1.407 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.532, allocations: 168.9 kB / 1.408 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/4.022, allocations: 0 / 1.408 GB, free: 14.79 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat does not exist to compare? outputFormat=mat