Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001332/0.001333, allocations: 176.9 kB / 492.3 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.025/2.025, 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.001108/0.001107, allocations: 91.41 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.941e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2551, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8819/1.137, allocations: 150.9 MB / 1.36 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.137, allocations: 74.73 kB / 1.36 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03156/1.169, allocations: 13.8 MB / 1.373 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/1.169, allocations: 0 / 1.373 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.941e-05/1.169, allocations: 23.09 kB / 1.373 GB, free: 33.92 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.001414/1.17, allocations: 1.022 MB / 1.374 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.171, allocations: 11.56 kB / 1.374 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/1.171, allocations: 138.5 kB / 1.375 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/1.171, allocations: 116.4 kB / 1.375 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/1.172, allocations: 0.5244 MB / 1.375 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/1.172, allocations: 76.88 kB / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.172, allocations: 96.47 kB / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.173, allocations: 0.8088 MB / 1.376 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.173, allocations: 3.812 kB / 1.376 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/1.173, allocations: 42.83 kB / 1.376 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/1.173, allocations: 22.91 kB / 1.376 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/1.174, allocations: 0.5309 MB / 1.377 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/1.177, allocations: 2.63 MB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/1.178, allocations: 1.237 MB / 1.381 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/1.178, allocations: 363.1 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/1.178, allocations: 16.47 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/1.179, allocations: 322 kB / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.194e-06/1.179, allocations: 0 / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000701/1.179, allocations: 0.5319 MB / 1.382 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.179, allocations: 165.9 kB / 1.382 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/1.18, allocations: 0.5101 MB / 1.382 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/1.18, allocations: 46.41 kB / 1.382 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/1.18, allocations: 386.5 kB / 1.383 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.18, allocations: 260.1 kB / 1.383 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/1.18, allocations: 16.44 kB / 1.383 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.18, allocations: 389.3 kB / 1.383 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.181, allocations: 183.7 kB / 1.384 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/1.181, allocations: 303.3 kB / 1.384 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/1.181, allocations: 215.6 kB / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.181, allocations: 0 / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006918/1.182, allocations: 0.597 MB / 1.385 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/1.182, allocations: 184.9 kB / 1.385 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.182, allocations: 7.828 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.182, allocations: 3.953 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/1.183, allocations: 161.5 kB / 1.385 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.183, allocations: 7.922 kB / 1.385 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/1.183, allocations: 108.7 kB / 1.385 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/1.183, allocations: 30.95 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/1.183, allocations: 3.969 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006035/1.184, allocations: 496.9 kB / 1.386 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/1.184, allocations: 3.906 kB / 1.386 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/1.184, allocations: 11.84 kB / 1.386 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/1.184, allocations: 131.7 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.184, allocations: 3.219 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/1.184, allocations: 92.78 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.184, allocations: 26.94 kB / 1.386 GB, free: 28.61 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.0001176/1.185, allocations: 145.7 kB / 1.386 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/1.185, allocations: 73.12 kB / 1.386 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/1.185, allocations: 0.5822 MB / 1.387 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.185, allocations: 7.812 kB / 1.387 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.185, allocations: 4 kB / 1.387 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.185, allocations: 3.984 kB / 1.387 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.187, allocations: 1.648 MB / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.187, allocations: 0 / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/1.188, allocations: 152.6 kB / 1.388 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.188, allocations: 7.672 kB / 1.388 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.188, allocations: 18.03 kB / 1.388 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.188, allocations: 7.656 kB / 1.388 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.188, allocations: 3.844 kB / 1.388 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.189, allocations: 1.038 MB / 1.389 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/1.189, allocations: 165.4 kB / 1.39 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/1.189, allocations: 22.89 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/1.189, allocations: 56.58 kB / 1.39 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/1.19, allocations: 47.06 kB / 1.39 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/1.19, allocations: 27.11 kB / 1.39 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003754/1.19, allocations: 410.5 kB / 1.39 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.39 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005998/1.191, allocations: 292.8 kB / 1.39 GB, free: 26.8 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.00149/1.192, allocations: 2.037 MB / 1.392 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.193, allocations: 0.8029 MB / 1.393 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.193, allocations: 3.812 kB / 1.393 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/1.193, allocations: 286.2 kB / 1.393 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/1.194, allocations: 128.5 kB / 1.394 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/1.196, allocations: 1.352 MB / 1.395 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/1.196, allocations: 0.9958 MB / 1.396 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004282/1.197, allocations: 121.6 kB / 1.396 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/1.197, allocations: 327.9 kB / 1.396 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of SimCode: time 1.052e-06/1.197, allocations: 0 / 1.396 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/1.226, allocations: 14.48 MB / 1.41 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.227, allocations: 170.4 kB / 1.411 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.666, allocations: 0 / 1.411 GB, free: 12.57 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat does not exist to compare? outputFormat=mat