Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.574/2.574, allocations: 390.5 MB / 398 MB, free: 10.94 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.001228/0.001228, allocations: 188.3 kB / 491.2 MB, free: 1.559 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.86/1.86, 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.0008767/0.0008769, allocations: 91.94 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.345e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3937, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.581, allocations: 154.5 MB / 1.363 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.581, allocations: 94.86 kB / 1.363 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03984/1.621, allocations: 17.28 MB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.621, allocations: 7.781 kB / 1.38 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001021/1.621, allocations: 19.22 kB / 1.38 GB, free: 30.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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002294/1.623, allocations: 1.059 MB / 1.381 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.623, allocations: 7.812 kB / 1.381 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/1.624, allocations: 120.3 kB / 1.381 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.625, allocations: 0.5943 MB / 1.382 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/1.625, allocations: 30.69 kB / 1.382 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.625, allocations: 57.59 kB / 1.382 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/1.626, allocations: 0.5138 MB / 1.383 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/1.627, allocations: 0.7074 MB / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/1.627, allocations: 0 / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.649e-05/1.627, allocations: 3.984 kB / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.627, allocations: 23.16 kB / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/1.631, allocations: 2.491 MB / 1.386 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/1.632, allocations: 0.577 MB / 1.386 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/1.633, allocations: 346.7 kB / 1.387 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/1.633, allocations: 12.45 kB / 1.387 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/1.633, allocations: 291.6 kB / 1.387 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.494e-06/1.633, allocations: 0 / 1.387 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0007688/1.634, allocations: 0.5079 MB / 1.387 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/1.634, allocations: 166 kB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/1.634, allocations: 432.3 kB / 1.388 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/1.634, allocations: 32.05 kB / 1.388 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.635, allocations: 427.3 kB / 1.388 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/1.635, allocations: 251.9 kB / 1.389 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/1.635, allocations: 0 / 1.389 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.635, allocations: 382.2 kB / 1.389 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/1.635, allocations: 182.3 kB / 1.389 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/1.636, allocations: 287.4 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/1.636, allocations: 211.7 kB / 1.39 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.636, allocations: 4 kB / 1.39 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007342/1.637, allocations: 0.5619 MB / 1.39 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.637, allocations: 187.8 kB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.637, allocations: 0 / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.637, allocations: 11.73 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/1.638, allocations: 163.5 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.638, allocations: 3.812 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/1.638, allocations: 89.05 kB / 1.391 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/1.638, allocations: 19.19 kB / 1.391 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/1.638, allocations: 3.969 kB / 1.391 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005594/1.639, allocations: 447.9 kB / 1.391 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.639, allocations: 4 kB / 1.391 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/1.639, allocations: 3.906 kB / 1.391 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/1.639, allocations: 133.3 kB / 1.391 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.639, allocations: 11.86 kB / 1.391 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/1.639, allocations: 54.61 kB / 1.391 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/1.639, allocations: 22.12 kB / 1.391 GB, free: 25.46 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 (91): * Single equations (assignments): 91 * 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.0001668/1.64, allocations: 129.4 kB / 1.391 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006677/1.64, allocations: 496.5 kB / 1.392 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/1.64, allocations: 77.94 kB / 1.392 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/1.64, allocations: 72.5 kB / 1.392 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/1.64, allocations: 7.75 kB / 1.392 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.64, allocations: 3.953 kB / 1.392 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.641, allocations: 3.984 kB / 1.392 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/1.642, allocations: 1.376 MB / 1.393 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.642, allocations: 3.984 kB / 1.393 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/1.643, allocations: 147.8 kB / 1.394 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/1.643, allocations: 3.844 kB / 1.394 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/1.643, allocations: 7.859 kB / 1.394 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/1.643, allocations: 7.766 kB / 1.394 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.643, allocations: 0 / 1.394 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/1.644, allocations: 0.879 MB / 1.394 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.644, allocations: 155 kB / 1.395 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/1.644, allocations: 0 / 1.395 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/1.644, allocations: 41.88 kB / 1.395 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/1.644, allocations: 42.86 kB / 1.395 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/1.644, allocations: 30.83 kB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000318/1.645, allocations: 326.4 kB / 1.395 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.645, allocations: 3.688 kB / 1.395 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006509/1.645, allocations: 282.3 kB / 1.395 GB, free: 23.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.001315/1.647, allocations: 1.442 MB / 1.397 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009018/1.648, allocations: 0.7665 MB / 1.397 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.648, allocations: 384 / 1.397 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/1.648, allocations: 261.8 kB / 1.398 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/1.649, allocations: 135.9 kB / 1.398 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.651, allocations: 1.3 MB / 1.399 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/1.651, allocations: 1.025 MB / 1.4 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004329/1.652, allocations: 110.8 kB / 1.4 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/1.652, allocations: 351.7 kB / 1.401 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.652, allocations: 0 / 1.401 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/1.687, allocations: 13.65 MB / 1.414 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.687, allocations: 172.6 kB / 1.414 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/4.4, allocations: 0 / 1.414 GB, free: 9.785 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat