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.001406/0.001406, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001617/0.001617, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9726/0.9726, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.967/1.967, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.072e-05, allocations: 5.406 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001747/0.001768, allocations: 1.04 MB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003171, allocations: 1.298 MB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.003292, allocations: 3.938 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.00344, allocations: 22.12 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.003503, allocations: 26.09 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.003897, allocations: 180.1 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.00413, allocations: 257.6 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.004267, allocations: 82.16 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004395, allocations: 147.6 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004498, allocations: 64.31 kB / 0.7631 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.00453, allocations: 29.12 kB / 0.7631 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.004593, allocations: 39.92 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.004628, allocations: 43.84 kB / 0.7632 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.004685, allocations: 68.84 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.004885, allocations: 183.4 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004887, allocations: 0 / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004888, allocations: 0.625 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004892, allocations: 0 / 0.7634 GB, free: 3.203 MB / 0.7136 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.0004859/0.005378, allocations: 410.8 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.005411, allocations: 12.02 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.005456, allocations: 26.27 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.005652, allocations: 170.9 kB / 0.764 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.00567, allocations: 13.59 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.005696, allocations: 24.31 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005834, allocations: 138.1 kB / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005843, allocations: 2.125 kB / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.005854, allocations: 12.31 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.005862, allocations: 8.359 kB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.00591, allocations: 36.52 kB / 0.7642 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.006347, allocations: 324.3 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.006476, allocations: 59.22 kB / 0.7646 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.006501, allocations: 20.86 kB / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.00651, allocations: 4.75 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.913e-05/0.006609, allocations: 109.1 kB / 0.7647 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.00661, allocations: 2.156 kB / 0.7647 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001311/0.006741, allocations: 81.66 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.006773, allocations: 55.34 kB / 0.7649 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.007153, allocations: 167.6 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.007174, allocations: 29.64 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.007232, allocations: 133.8 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.007249, allocations: 31.73 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.007309, allocations: 45.67 kB / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.007382, allocations: 322.8 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.007436, allocations: 58.94 kB / 0.7656 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.007494, allocations: 80.23 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.007572, allocations: 104.2 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007574, allocations: 0 / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001453/0.007719, allocations: 180.2 kB / 0.766 GB, free: 400 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.007748, allocations: 37.7 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007752, allocations: 0 / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.007766, allocations: 4 kB / 0.766 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.007812, allocations: 11.98 kB / 0.766 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.007816, allocations: 4 kB / 0.766 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.007903, allocations: 31.88 kB / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.007917, allocations: 10.83 kB / 0.766 GB, free: 296 kB / 0.7136 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 7.894e-05/0.007996, allocations: 117.8 kB / 0.7662 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.008011, allocations: 11.94 kB / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.008042, allocations: 20.77 kB / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008044, allocations: 0 / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.008046, allocations: 4 kB / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008049, allocations: 0 / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.008145, allocations: 111.3 kB / 0.7663 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.00816, allocations: 4.047 kB / 0.7663 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.00819, allocations: 8 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.008192, allocations: 3.938 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008199, allocations: 8.594 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.008201, allocations: 4.719 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.008204, allocations: 0 / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.847e-05/0.008292, allocations: 95.81 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.008306, allocations: 11.91 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008321, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.542e-05/0.008346, allocations: 7.938 kB / 0.7664 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.008382, allocations: 15.97 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.008389, allocations: 7.984 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.008418, allocations: 35.88 kB / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-08/0.008418, allocations: 0 / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001357/0.008553, allocations: 47.02 kB / 0.7665 GB, free: 15.74 MB / 0.7292 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.0001178/0.008671, allocations: 96.34 kB / 0.7666 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.008829, allocations: 161.8 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.008833, allocations: 4 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.008871, allocations: 28.78 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.008999, allocations: 26.89 kB / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.009325, allocations: 267.7 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.009363, allocations: 72.12 kB / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.009406, allocations: 11.59 kB / 0.7672 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.009505, allocations: 87.34 kB / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of SimCode: time 8.01e-07/0.009506, allocations: 0 / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.00439/0.0139, allocations: 2.452 MB / 0.7697 GB, free: 12.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.195309350732714]