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.001854/0.001854, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002643/0.002643, allocations: 170.2 kB / 22.46 MB, free: 5.359 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.708/1.708, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.003/3.003, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.006e-06/3.006e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.833e-05, allocations: 4.672 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002656/0.002695, allocations: 1.009 MB / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.00466, allocations: 1.256 MB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.004798, allocations: 4 kB / 0.9837 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.004946, allocations: 31.67 kB / 0.9837 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.005029, allocations: 31.72 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.0056, allocations: 178.7 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.005935, allocations: 260 kB / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.006136, allocations: 68.89 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.006319, allocations: 135.8 kB / 0.9843 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.006484, allocations: 75.77 kB / 0.9844 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.006533, allocations: 28 kB / 0.9844 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.006623, allocations: 39.98 kB / 0.9845 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.006679, allocations: 47.83 kB / 0.9845 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.006777, allocations: 67.83 kB / 0.9846 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.007271, allocations: 350.9 kB / 0.9849 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.007276, allocations: 0 / 0.9849 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.007278, allocations: 0 / 0.9849 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.007289, allocations: 0 / 0.9849 GB, free: 8.375 MB / 0.9356 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.0008357/0.008124, allocations: 439.2 kB / 0.9853 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.008165, allocations: 8.031 kB / 0.9853 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.008234, allocations: 28.8 kB / 0.9854 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.008613, allocations: 199.8 kB / 0.9856 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.008634, allocations: 16.36 kB / 0.9856 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.008675, allocations: 20.38 kB / 0.9856 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.008959, allocations: 167.7 kB / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.008969, allocations: 192 / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.008988, allocations: 4.375 kB / 0.9858 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.008996, allocations: 4.375 kB / 0.9858 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.009177, allocations: 92.78 kB / 0.9858 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.01007, allocations: 455.9 kB / 0.9863 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.01034, allocations: 82.56 kB / 0.9864 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.01042, allocations: 44.77 kB / 0.9864 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.01044, allocations: 4 kB / 0.9864 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.01063, allocations: 129.1 kB / 0.9865 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.01063, allocations: 0 / 0.9865 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0003535/0.01098, allocations: 133.9 kB / 0.9867 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.01103, allocations: 55.41 kB / 0.9867 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.01121, allocations: 170.2 kB / 0.9869 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.01125, allocations: 29.7 kB / 0.9869 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01137, allocations: 136.3 kB / 0.987 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.0114, allocations: 35.81 kB / 0.9871 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.0115, allocations: 45.69 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.01167, allocations: 326.8 kB / 0.9874 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.01182, allocations: 93.61 kB / 0.9875 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.012, allocations: 115.1 kB / 0.9876 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.0122, allocations: 120.3 kB / 0.9877 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.0122, allocations: 4 kB / 0.9877 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000428/0.01263, allocations: 260.1 kB / 0.988 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.01268, allocations: 41.69 kB / 0.988 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01268, allocations: 0 / 0.988 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.0127, allocations: 0 / 0.988 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.01277, allocations: 12 kB / 0.988 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01277, allocations: 0 / 0.988 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.01301, allocations: 43.84 kB / 0.9881 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.01303, allocations: 12.06 kB / 0.9881 GB, free: 4.875 MB / 0.9356 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.000153/0.01319, allocations: 142.5 kB / 0.9882 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.01322, allocations: 11.89 kB / 0.9882 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.01329, allocations: 16.78 kB / 0.9883 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01329, allocations: 0 / 0.9883 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01329, allocations: 0 / 0.9883 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.0133, allocations: 4 kB / 0.9883 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.0135, allocations: 165.2 kB / 0.9884 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0135, allocations: 0 / 0.9884 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.01356, allocations: 15.94 kB / 0.9884 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01357, allocations: 3.984 kB / 0.9884 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01358, allocations: 7.938 kB / 0.9884 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01358, allocations: 0 / 0.9884 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01358, allocations: 0 / 0.9884 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.0138, allocations: 141.2 kB / 0.9886 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.01383, allocations: 23.78 kB / 0.9886 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01386, allocations: 0 / 0.9886 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.01393, allocations: 11.98 kB / 0.9886 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.01399, allocations: 11.98 kB / 0.9886 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.014, allocations: 11.92 kB / 0.9886 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001151/0.01412, allocations: 123.2 kB / 0.9887 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01412, allocations: 0 / 0.9887 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002546/0.01437, allocations: 43.89 kB / 0.9888 GB, free: 4.102 MB / 0.9356 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.0002015/0.01458, allocations: 103.2 kB / 0.9889 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.01492, allocations: 208.9 kB / 0.9891 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01492, allocations: 0 / 0.9891 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01503, allocations: 35.94 kB / 0.9891 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.01543, allocations: 36.09 kB / 0.9892 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.01602, allocations: 284.6 kB / 0.9894 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01614, allocations: 108.1 kB / 0.9895 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.768e-05/0.0162, allocations: 17.14 kB / 0.9895 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.01625, allocations: 16.5 kB / 0.9896 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.01625, allocations: 0 / 0.9896 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of Templates: time 0.006916/0.02317, allocations: 2.252 MB / 0.9918 GB, free: 1.082 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.908345229923725]