Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001442/0.001442, allocations: 97.31 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.002308/0.002308, allocations: 219.5 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002043/0.002043, allocations: 67.02 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002377/0.3354, allocations: 1.01 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3371, allocations: 1.252 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.3372, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.3374, allocations: 19.73 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.3375, allocations: 31.72 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.338, allocations: 189.1 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.3383, allocations: 259.9 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.3385, allocations: 81.05 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3386, allocations: 91.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3388, allocations: 99.58 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.3388, allocations: 28 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.3389, allocations: 36 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.339, allocations: 43.84 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3391, allocations: 83.64 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.3395, allocations: 326.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3395, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3395, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.3395, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 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.000785/0.3403, allocations: 447 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3403, allocations: 8.031 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.523e-05/0.3403, allocations: 4.188 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.3404, allocations: 50.73 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.3405, allocations: 20.84 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.3409, allocations: 199.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3409, allocations: 12.38 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.3409, allocations: 16.38 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.3412, allocations: 171.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3412, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3412, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3412, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3414, allocations: 95.89 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.3423, allocations: 0.5069 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.3425, allocations: 78.56 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.3426, allocations: 40.88 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3426, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.3428, allocations: 121.2 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3428, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003522/0.3432, allocations: 141.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3432, allocations: 55.41 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.3434, allocations: 198.3 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3435, allocations: 29.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3436, allocations: 132 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.3436, allocations: 31.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.3437, allocations: 45.69 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3439, allocations: 326.8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.344, allocations: 89.67 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3442, allocations: 116.2 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3444, allocations: 125.3 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3444, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004241/0.3448, allocations: 268.9 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.3448, allocations: 41.69 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3449, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3449, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.3449, allocations: 11.94 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.345, allocations: 4 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3452, allocations: 43.78 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3452, allocations: 8 kB / 1.333 GB, free: 10.3 MB / 1.029 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.0001288/0.3453, allocations: 138.4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3454, allocations: 15.91 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.3454, allocations: 17.41 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3454, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3454, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3454, allocations: 11.88 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3456, allocations: 192.7 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3456, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.3457, allocations: 15.98 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3457, allocations: 0 / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3457, allocations: 4 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3457, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3457, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.3459, allocations: 144.9 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.346, allocations: 15.91 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.346, allocations: 0 / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.3461, allocations: 11.98 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.3462, allocations: 19.91 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3462, allocations: 11.94 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001306/0.3463, allocations: 144.4 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3463, allocations: 4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002565/0.3466, allocations: 39.89 kB / 1.334 GB, free: 9.449 MB / 1.029 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.0006036/0.3472, allocations: 0.6804 MB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.3476, allocations: 205 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3476, allocations: 0 / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.3477, allocations: 35.94 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.348, allocations: 43.97 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3505, allocations: 2.079 MB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.3507, allocations: 108 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.3507, allocations: 17.48 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.3508, allocations: 51.42 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3508, allocations: 4 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.3772, allocations: 4.227 MB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.99, allocations: 6.562 kB / 1.341 GB, free: 2.07 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.095526056014933] Failed to read output from testmodel.py, exit status != 0: 12.15624648006633 12.186585872 11.841754852 Calling exit ...