Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.00094/0.00094, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009643/0.0009643, allocations: 169 kB / 24.05 MB, free: 460 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 1.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.168/2.168, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.122e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002783/0.002814, allocations: 1.14 MB / 0.8805 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.004975, allocations: 1.449 MB / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.005129, allocations: 0 / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.863e-05/0.005188, allocations: 23.67 kB / 0.882 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.005361, allocations: 60.17 kB / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.006116, allocations: 368.3 kB / 0.8824 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.006593, allocations: 475.5 kB / 0.8828 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.006759, allocations: 72.59 kB / 0.8829 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.007045, allocations: 248.5 kB / 0.8831 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.007232, allocations: 131.6 kB / 0.8833 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.007284, allocations: 51.44 kB / 0.8833 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.007379, allocations: 56 kB / 0.8834 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.007422, allocations: 51.77 kB / 0.8834 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.007528, allocations: 131.8 kB / 0.8835 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.007863, allocations: 327.1 kB / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.007867, allocations: 0 / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007868, allocations: 0 / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.007873, allocations: 0 / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007001/0.008573, allocations: 0.6527 MB / 0.8845 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.008612, allocations: 12.62 kB / 0.8845 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.008691, allocations: 42.05 kB / 0.8845 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.009174, allocations: 224.1 kB / 0.8847 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.009204, allocations: 16.38 kB / 0.8848 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.009239, allocations: 24.38 kB / 0.8848 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.009393, allocations: 121.1 kB / 0.8849 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.009403, allocations: 4.188 kB / 0.8849 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.009417, allocations: 4.375 kB / 0.8849 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.009425, allocations: 4.375 kB / 0.8849 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.009481, allocations: 45.08 kB / 0.885 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/0.01017, allocations: 0.5582 MB / 0.8855 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.01029, allocations: 83 kB / 0.8856 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.01033, allocations: 31.66 kB / 0.8856 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.01035, allocations: 4 kB / 0.8856 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.0105, allocations: 126.4 kB / 0.8857 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.0105, allocations: 0 / 0.8857 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002788/0.01078, allocations: 199.8 kB / 0.8859 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.01081, allocations: 55.41 kB / 0.886 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.01095, allocations: 257.5 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.01099, allocations: 37.7 kB / 0.8863 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.01108, allocations: 195.3 kB / 0.8864 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.01112, allocations: 55.5 kB / 0.8865 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.01123, allocations: 95.23 kB / 0.8866 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01136, allocations: 0.504 MB / 0.8871 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.01151, allocations: 165 kB / 0.8872 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.01169, allocations: 273.6 kB / 0.8875 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.01192, allocations: 301.5 kB / 0.8878 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01193, allocations: 0 / 0.8878 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005199/0.01245, allocations: 0.5072 MB / 0.8883 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.01251, allocations: 105.1 kB / 0.8884 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.01252, allocations: 7.938 kB / 0.8884 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01253, allocations: 4 kB / 0.8884 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01264, allocations: 31.92 kB / 0.8884 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.01264, allocations: 7.938 kB / 0.8884 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.01285, allocations: 67.98 kB / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.01288, allocations: 23.98 kB / 0.8885 GB, free: 12.28 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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.0001139/0.01299, allocations: 181.9 kB / 0.8887 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.01303, allocations: 27.8 kB / 0.8887 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.01322, allocations: 167.3 kB / 0.8889 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01323, allocations: 0 / 0.8889 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01323, allocations: 4 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01323, allocations: 0 / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.01361, allocations: 455.3 kB / 0.8893 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01362, allocations: 0 / 0.8893 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.01366, allocations: 15.98 kB / 0.8893 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01366, allocations: 7.938 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01367, allocations: 4 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01367, allocations: 0 / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01367, allocations: 4 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.01387, allocations: 305.2 kB / 0.8896 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.01389, allocations: 27.8 kB / 0.8897 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01391, allocations: 3.984 kB / 0.8897 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.01395, allocations: 8 kB / 0.8897 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.01399, allocations: 11.97 kB / 0.8897 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.014, allocations: 15.94 kB / 0.8897 GB, free: 11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.01407, allocations: 174.9 kB / 0.8899 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01407, allocations: 0 / 0.8899 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002647/0.01434, allocations: 75.88 kB / 0.8899 GB, free: 10.76 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001387/0.01448, allocations: 104.2 kB / 0.89 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.01483, allocations: 454.7 kB / 0.8905 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01483, allocations: 0.5 kB / 0.8905 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.01489, allocations: 59.59 kB / 0.8905 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.01521, allocations: 68.12 kB / 0.8906 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.0157, allocations: 352.8 kB / 0.8909 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.01575, allocations: 75.98 kB / 0.891 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.01581, allocations: 17.95 kB / 0.891 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.016, allocations: 150.1 kB / 0.8912 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.01601, allocations: 0 / 0.8912 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of Templates: time 0.007111/0.02312, allocations: 4.88 MB / 0.8959 GB, free: 4.641 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.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.565787533298135]