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.001649/0.001649, allocations: 95.77 kB / 18.94 MB, free: 2.832 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.002119/0.002119, allocations: 215.9 kB / 22.25 MB, free: 5.105 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.816 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.318/3.318, allocations: 0.505 GB / 0.8101 GB, free: 23.54 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="me",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="me",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.002127/0.002127, allocations: 63.7 kB / 1.177 GB, free: 16.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 180.2 MB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.00253/0.3728, allocations: 1.036 MB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3747, allocations: 1.284 MB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3748, allocations: 4 kB / 1.355 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.3749, allocations: 27.67 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.375, allocations: 31.72 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.3756, allocations: 201.4 kB / 1.355 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.3759, allocations: 295.9 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3761, allocations: 87.59 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3762, allocations: 107.7 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.3764, allocations: 119.5 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.3765, allocations: 32 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.3766, allocations: 47.98 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3766, allocations: 55.78 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3768, allocations: 99.62 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.3772, allocations: 385.1 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3772, allocations: 0 / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.646e-06/0.3772, allocations: 4 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3772, allocations: 0 / 1.357 GB, free: 4.168 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008586/0.3781, allocations: 471.4 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3781, allocations: 12.03 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.037e-05/0.3782, allocations: 50.73 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.3783, allocations: 28.8 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.3787, allocations: 212.3 kB / 1.357 GB, free: 3.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.3787, allocations: 20.67 kB / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.3788, allocations: 20.38 kB / 1.357 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.3791, allocations: 198.4 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3791, allocations: 7.875 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3791, allocations: 11.94 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3792, allocations: 4 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.3794, allocations: 108.2 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.3804, allocations: 0.5423 MB / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3806, allocations: 126.6 kB / 1.358 GB, free: 2.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3808, allocations: 52.92 kB / 1.358 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3808, allocations: 0 / 1.358 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.3811, allocations: 164.9 kB / 1.358 GB, free: 2.008 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3811, allocations: 0 / 1.358 GB, free: 2.008 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0004894/0.3816, allocations: 242.8 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3816, allocations: 59.39 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3818, allocations: 202.6 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3819, allocations: 37.7 kB / 1.359 GB, free: 1.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.382, allocations: 132.4 kB / 1.359 GB, free: 1.309 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.382, allocations: 39.66 kB / 1.359 GB, free: 1.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3822, allocations: 57.69 kB / 1.359 GB, free: 1.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3823, allocations: 334.8 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.3825, allocations: 105.6 kB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3827, allocations: 151.8 kB / 1.36 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3829, allocations: 172.2 kB / 1.36 GB, free: 408 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3829, allocations: 0 / 1.36 GB, free: 408 kB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005037/0.3834, allocations: 313.1 kB / 1.36 GB, free: 80 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.3835, allocations: 33.69 kB / 1.36 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3835, allocations: 4 kB / 1.36 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3835, allocations: 0 / 1.36 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3836, allocations: 23.94 kB / 1.36 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3836, allocations: 7.984 kB / 1.36 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.3839, allocations: 35.86 kB / 1.36 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.3839, allocations: 23.92 kB / 1.36 GB, free: 15.95 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001499/0.3841, allocations: 145.8 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3841, allocations: 19.84 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.3842, allocations: 21.8 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3842, allocations: 3.984 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3842, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3842, allocations: 4 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.3849, allocations: 0.506 MB / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3849, allocations: 0 / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.385, allocations: 15.98 kB / 1.361 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.385, allocations: 8.031 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.385, allocations: 4 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.385, allocations: 15.81 kB / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.385, allocations: 0 / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3854, allocations: 292.1 kB / 1.361 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.3854, allocations: 31.88 kB / 1.361 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.3855, allocations: 8 kB / 1.361 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3856, allocations: 15.92 kB / 1.361 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3856, allocations: 15.97 kB / 1.361 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.3857, allocations: 15.98 kB / 1.361 GB, free: 14.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3858, allocations: 148.5 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3858, allocations: 0 / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003073/0.3861, allocations: 51.89 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007305/0.3868, allocations: 0.8439 MB / 1.362 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3873, allocations: 252.8 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3873, allocations: 0 / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3874, allocations: 64.22 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3878, allocations: 36.05 kB / 1.363 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3908, allocations: 2.402 MB / 1.365 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.391, allocations: 117.3 kB / 1.365 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.559e-05/0.391, allocations: 17.64 kB / 1.365 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3911, allocations: 63.41 kB / 1.365 GB, free: 10.56 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/0.3911, allocations: 4 kB / 1.365 GB, free: 10.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.428, allocations: 5.188 MB / 1.37 GB, free: 5.582 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 5.344 kB / 1.37 GB, free: 5.578 MB / 1.061 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] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.636600122001255]