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.245/2.245, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001355/0.001355, allocations: 187.2 kB / 0.4901 GB, free: 2.238 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.459/1.459, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009641/0.0009642, allocations: 100.2 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003591, allocations: 10.47 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.4591, allocations: 155.2 MB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.4595, allocations: 91.92 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04193/0.5015, allocations: 17.43 MB / 1.398 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5015, allocations: 0 / 1.398 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.991e-05/0.5016, allocations: 24 kB / 1.398 GB, free: 12.75 MB / 0.9011 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.001882/0.5035, allocations: 1.193 MB / 1.399 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.5035, allocations: 12.02 kB / 1.399 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.5037, allocations: 143.9 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.5039, allocations: 126.5 kB / 1.399 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.5048, allocations: 0.5899 MB / 1.4 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.5048, allocations: 74 kB / 1.4 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.5049, allocations: 96 kB / 1.4 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5063, allocations: 0.9095 MB / 1.401 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5064, allocations: 0 / 1.401 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.5064, allocations: 47.98 kB / 1.401 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.5065, allocations: 24 kB / 1.401 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5077, allocations: 0.6754 MB / 1.402 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.5113, allocations: 2.683 MB / 1.404 GB, free: 5.988 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.5125, allocations: 0.7428 MB / 1.405 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.5125, allocations: 8.656 kB / 1.405 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006596/0.5132, allocations: 380.3 kB / 1.405 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 2.825e-06/0.5132, allocations: 0 / 1.405 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001552/0.5148, allocations: 0.8874 MB / 1.406 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.5149, allocations: 166.9 kB / 1.407 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.5155, allocations: 0.5386 MB / 1.407 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.5155, allocations: 41.7 kB / 1.407 GB, free: 3.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.5158, allocations: 424.2 kB / 1.407 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.516, allocations: 264.1 kB / 1.408 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.516, allocations: 16 kB / 1.408 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5161, allocations: 333.9 kB / 1.408 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.5166, allocations: 257.8 kB / 1.408 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.5171, allocations: 359.4 kB / 1.409 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.5176, allocations: 286.9 kB / 1.409 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5176, allocations: 0 / 1.409 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001155/0.5188, allocations: 0.7348 MB / 1.41 GB, free: 484 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.5189, allocations: 190 kB / 1.41 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5189, allocations: 0 / 1.41 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5189, allocations: 4 kB / 1.41 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.5195, allocations: 171.8 kB / 1.41 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5196, allocations: 4 kB / 1.41 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.52, allocations: 111.4 kB / 1.41 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.52, allocations: 19.94 kB / 1.41 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.52, allocations: 5.875 kB / 1.41 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007068/0.5207, allocations: 0.5193 MB / 1.411 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.5207, allocations: 0 / 1.411 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.5208, allocations: 4 kB / 1.411 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.5212, allocations: 135.8 kB / 1.411 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5212, allocations: 4 kB / 1.411 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.5215, allocations: 87.39 kB / 1.411 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.5215, allocations: 20 kB / 1.411 GB, free: 15.2 MB / 0.9167 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 () * Number of clocked 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.0003626/0.5219, allocations: 305.7 kB / 1.411 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.522, allocations: 82.97 kB / 1.411 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.5222, allocations: 88.16 kB / 1.411 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5222, allocations: 8 kB / 1.411 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5222, allocations: 0 / 1.411 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5222, allocations: 11.94 kB / 1.411 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.5244, allocations: 1.644 MB / 1.413 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5244, allocations: 0 / 1.413 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.525, allocations: 147.8 kB / 1.413 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.525, allocations: 4 kB / 1.413 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.5251, allocations: 16 kB / 1.413 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.5251, allocations: 11.95 kB / 1.413 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5251, allocations: 0 / 1.413 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.5267, allocations: 1.108 MB / 1.414 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.5269, allocations: 167.9 kB / 1.414 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.527, allocations: 16 kB / 1.414 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.5273, allocations: 55.97 kB / 1.414 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.5274, allocations: 44.55 kB / 1.414 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.5274, allocations: 23.98 kB / 1.415 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004894/0.5279, allocations: 431.2 kB / 1.415 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5279, allocations: 0 / 1.415 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006597/0.5286, allocations: 330.5 kB / 1.415 GB, free: 10.64 MB / 0.9167 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 () * Number of clocked 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.001922/0.5305, allocations: 1.68 MB / 1.417 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.532, allocations: 0.9114 MB / 1.418 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.532, allocations: 7.938 kB / 1.418 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.5325, allocations: 335.7 kB / 1.418 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.5332, allocations: 149.1 kB / 1.418 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/0.5397, allocations: 4.933 MB / 1.423 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.5403, allocations: 1.021 MB / 1.424 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.5407, allocations: 81.77 kB / 1.424 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.5411, allocations: 367.2 kB / 1.424 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of SimCode: time 3.246e-06/0.5411, allocations: 0 / 1.424 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/1.133, allocations: 14.43 MB / 1.439 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/1.133, allocations: 209.2 kB / 1.439 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.59, allocations: 0 / 1.439 GB, free: 181.9 MB / 0.9167 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