Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009961/0.0009961, allocations: 184.6 kB / 487.4 MB, free: 5.043 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.47/1.47, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008171/0.000817, allocations: 103.7 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.843e-05/1.845e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2695, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9351/1.205, allocations: 153.7 MB / 1.356 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.205, allocations: 94.44 kB / 1.356 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03716/1.242, allocations: 17.27 MB / 1.373 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.242, allocations: 0 / 1.373 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.473e-05/1.242, allocations: 22.66 kB / 1.373 GB, free: 31.74 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.001352/1.244, allocations: 1.065 MB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.244, allocations: 8.062 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/1.244, allocations: 124.5 kB / 1.374 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/1.245, allocations: 0.5927 MB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/1.245, allocations: 30.94 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/1.245, allocations: 61.41 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007983/1.245, allocations: 0.5149 MB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.247, allocations: 0.7021 MB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.247, allocations: 4 kB / 1.376 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/1.247, allocations: 7.953 kB / 1.376 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/1.247, allocations: 23.16 kB / 1.376 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/1.25, allocations: 2.488 MB / 1.379 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/1.25, allocations: 0.5818 MB / 1.379 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/1.251, allocations: 342.5 kB / 1.379 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/1.251, allocations: 8.438 kB / 1.38 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/1.251, allocations: 299 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 1.884e-06/1.251, allocations: 0 / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000646/1.252, allocations: 0.5025 MB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.252, allocations: 162.7 kB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/1.252, allocations: 434.8 kB / 1.381 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.252, allocations: 29.64 kB / 1.381 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/1.252, allocations: 432 kB / 1.381 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.252, allocations: 259.2 kB / 1.382 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/1.252, allocations: 0 / 1.382 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.253, allocations: 380.6 kB / 1.382 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/1.253, allocations: 176.4 kB / 1.382 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/1.253, allocations: 276.7 kB / 1.382 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/1.253, allocations: 228.2 kB / 1.383 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.253, allocations: 0 / 1.383 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006438/1.254, allocations: 0.5565 MB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/1.254, allocations: 187.9 kB / 1.383 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.254, allocations: 0 / 1.383 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.254, allocations: 3.812 kB / 1.383 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/1.255, allocations: 169.7 kB / 1.383 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.255, allocations: 7.875 kB / 1.383 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/1.255, allocations: 89.58 kB / 1.384 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.255, allocations: 18.81 kB / 1.384 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-06/1.255, allocations: 3.875 kB / 1.384 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005278/1.256, allocations: 448.9 kB / 1.384 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/1.256, allocations: 0 / 1.384 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/1.256, allocations: 3.781 kB / 1.384 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/1.256, allocations: 138.1 kB / 1.384 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/1.256, allocations: 7.859 kB / 1.384 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.256, allocations: 54.55 kB / 1.384 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/1.256, allocations: 22.22 kB / 1.384 GB, free: 26.94 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.0001261/1.257, allocations: 127.6 kB / 1.384 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005718/1.257, allocations: 499.4 kB / 1.385 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/1.257, allocations: 73.34 kB / 1.385 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/1.257, allocations: 78.11 kB / 1.385 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.257, allocations: 7.688 kB / 1.385 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.257, allocations: 0 / 1.385 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.257, allocations: 7.938 kB / 1.385 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/1.259, allocations: 1.372 MB / 1.386 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.259, allocations: 3.984 kB / 1.386 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/1.26, allocations: 139.2 kB / 1.386 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.26, allocations: 3.875 kB / 1.386 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/1.26, allocations: 11.39 kB / 1.386 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.26, allocations: 4 kB / 1.386 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.26, allocations: 7.953 kB / 1.386 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.261, allocations: 0.8808 MB / 1.387 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/1.261, allocations: 154.6 kB / 1.387 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/1.261, allocations: 0 / 1.387 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/1.261, allocations: 46.34 kB / 1.388 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/1.261, allocations: 43.06 kB / 1.388 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/1.261, allocations: 30.34 kB / 1.388 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003064/1.262, allocations: 322.5 kB / 1.388 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.262, allocations: 0 / 1.388 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000629/1.262, allocations: 283.5 kB / 1.388 GB, free: 25.43 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.001302/1.264, allocations: 1.453 MB / 1.39 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009251/1.265, allocations: 0.7641 MB / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.265, allocations: 3.875 kB / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/1.265, allocations: 263.9 kB / 1.391 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/1.265, allocations: 123.8 kB / 1.391 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.267, allocations: 1.307 MB / 1.392 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/1.268, allocations: 1.018 MB / 1.393 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004315/1.268, allocations: 114.8 kB / 1.393 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/1.269, allocations: 344.8 kB / 1.393 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.269, allocations: 0 / 1.393 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/1.3, allocations: 13.66 MB / 1.407 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.301, allocations: 163.5 kB / 1.407 GB, free: 16.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.665, allocations: 0 / 1.407 GB, free: 16.47 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat