Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 216 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.448/3.448, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 65.17 kB / 1.171 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3485, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002513/0.351, allocations: 1.011 MB / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3528, allocations: 1.252 MB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.3529, allocations: 7.938 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.3531, allocations: 23.73 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.901e-05/0.3532, allocations: 23.78 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.3538, allocations: 178.9 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.3541, allocations: 252 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.3543, allocations: 84.88 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3545, allocations: 103.7 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3546, allocations: 95.53 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.3547, allocations: 28 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.3548, allocations: 39.98 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.3548, allocations: 43.84 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3549, allocations: 83.64 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.3554, allocations: 322.8 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3554, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3554, allocations: 3.938 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3554, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008536/0.3562, allocations: 453.5 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3563, allocations: 8.031 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.409e-05/0.3563, allocations: 4.188 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.3564, allocations: 50.73 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.3564, allocations: 20.8 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3569, allocations: 195.4 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.3569, allocations: 20.31 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.3569, allocations: 16.38 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.3572, allocations: 167.5 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3572, allocations: 4 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3573, allocations: 12 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3573, allocations: 4 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.3575, allocations: 83.95 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.3584, allocations: 0.499 MB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3586, allocations: 86.55 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.3587, allocations: 41.02 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3587, allocations: 4 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.3589, allocations: 121 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3589, allocations: 0 / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.00035/0.3593, allocations: 133.6 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3593, allocations: 63.33 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3595, allocations: 195.5 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3596, allocations: 37.64 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3597, allocations: 127.9 kB / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3597, allocations: 27.75 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.3598, allocations: 49.69 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3599, allocations: 326.8 kB / 1.351 GB, free: 9.527 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3601, allocations: 93.67 kB / 1.351 GB, free: 9.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3602, allocations: 112.2 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3604, allocations: 129.5 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3604, allocations: 4 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004114/0.3609, allocations: 250.6 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.3609, allocations: 41.69 kB / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3609, allocations: 0 / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3609, allocations: 4 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.361, allocations: 12.06 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.361, allocations: 4 kB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.3612, allocations: 47.78 kB / 1.352 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3613, allocations: 11.94 kB / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.3614, allocations: 137.8 kB / 1.352 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3614, allocations: 11.91 kB / 1.352 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.3615, allocations: 17.41 kB / 1.352 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3615, allocations: 8 kB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3615, allocations: 0 / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3615, allocations: 3.938 kB / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3617, allocations: 204.7 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3617, allocations: 0 / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.3618, allocations: 8 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3618, allocations: 7.922 kB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3618, allocations: 0 / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3618, allocations: 4 kB / 1.352 GB, free: 8.324 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3618, allocations: 0 / 1.352 GB, free: 8.324 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.362, allocations: 144.9 kB / 1.353 GB, free: 8.164 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.362, allocations: 15.91 kB / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3621, allocations: 8 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.3621, allocations: 7.984 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3622, allocations: 15.97 kB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3622, allocations: 7.938 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001303/0.3623, allocations: 136.4 kB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3623, allocations: 0 / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002632/0.3626, allocations: 39.92 kB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006149/0.3632, allocations: 0.6865 MB / 1.353 GB, free: 7.223 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.3636, allocations: 209.7 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3636, allocations: 0 / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.3637, allocations: 28 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.364, allocations: 46.28 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.3667, allocations: 2.097 MB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3668, allocations: 111.9 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.804e-05/0.3669, allocations: 21.47 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.367, allocations: 47.42 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/0.367, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.392, allocations: 4.205 MB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.92, allocations: 8.047 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.24607931904029] Failed to read output from testmodel.py, exit status != 0: 12.107069317018613 12.134843083 11.774336249 Calling exit ...