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.001086/0.001086, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00144/0.00144, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.062/1.062, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.116/2.116, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.796e-06/2.796e-06, allocations: 0 / 0.8782 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.173e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.00266/0.002692, allocations: 1.152 MB / 0.8793 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.004779, allocations: 1.456 MB / 0.8807 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.004906, allocations: 5.125 kB / 0.8807 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.703e-05/0.004963, allocations: 19.73 kB / 0.8808 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.00514, allocations: 64.59 kB / 0.8808 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.006035, allocations: 364.5 kB / 0.8812 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.006549, allocations: 471 kB / 0.8816 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.006743, allocations: 75.66 kB / 0.8817 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.00705, allocations: 254.7 kB / 0.8819 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.007263, allocations: 127.6 kB / 0.8821 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.007327, allocations: 44 kB / 0.8821 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.007433, allocations: 63.98 kB / 0.8822 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.00749, allocations: 55.75 kB / 0.8822 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.00764, allocations: 127.8 kB / 0.8823 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.008052, allocations: 323.1 kB / 0.8826 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.008056, allocations: 0 / 0.8826 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.543e-06/0.008057, allocations: 0.625 kB / 0.8826 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.008064, allocations: 4 kB / 0.8826 GB, free: 0.9336 MB / 0.7917 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.0008286/0.008892, allocations: 0.6505 MB / 0.8833 GB, free: 232 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.008937, allocations: 12.03 kB / 0.8833 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.009057, allocations: 44.75 kB / 0.8833 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.009473, allocations: 224.4 kB / 0.8836 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.009511, allocations: 20.88 kB / 0.8836 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.009561, allocations: 24.38 kB / 0.8836 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.009789, allocations: 125.2 kB / 0.8837 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.009798, allocations: 192 / 0.8837 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.009816, allocations: 4.375 kB / 0.8837 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.00983, allocations: 12.86 kB / 0.8837 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.009958, allocations: 57 kB / 0.8838 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.01086, allocations: 0.5863 MB / 0.8844 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.01104, allocations: 87.03 kB / 0.8844 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.01111, allocations: 37.27 kB / 0.8845 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01113, allocations: 4 kB / 0.8845 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.01133, allocations: 132.8 kB / 0.8846 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.01133, allocations: 1.469 kB / 0.8846 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0004373/0.01177, allocations: 211.5 kB / 0.8848 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.01181, allocations: 59.34 kB / 0.8849 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.01202, allocations: 257.6 kB / 0.8851 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.01206, allocations: 45.7 kB / 0.8852 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01218, allocations: 183.3 kB / 0.8853 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.01223, allocations: 55.58 kB / 0.8854 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.01237, allocations: 91.31 kB / 0.8855 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.01252, allocations: 0.5001 MB / 0.886 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.01279, allocations: 181 kB / 0.8861 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.01311, allocations: 290.7 kB / 0.8864 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.01351, allocations: 317.4 kB / 0.8867 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.01352, allocations: 0 / 0.8867 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006992/0.01422, allocations: 0.5383 MB / 0.8872 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.01427, allocations: 109.3 kB / 0.8873 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01428, allocations: 8 kB / 0.8873 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.0143, allocations: 4 kB / 0.8874 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.0144, allocations: 27.98 kB / 0.8874 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.01441, allocations: 7.938 kB / 0.8874 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.01465, allocations: 63.83 kB / 0.8874 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.01468, allocations: 23.98 kB / 0.8875 GB, free: 11.57 MB / 0.8073 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.0001233/0.01481, allocations: 189.8 kB / 0.8877 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01484, allocations: 35.78 kB / 0.8877 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.01507, allocations: 171.4 kB / 0.8879 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01507, allocations: 4.047 kB / 0.8879 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01508, allocations: 3.984 kB / 0.8879 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01508, allocations: 0 / 0.8879 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.0155, allocations: 491.2 kB / 0.8883 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.01551, allocations: 4 kB / 0.8883 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.01555, allocations: 15.98 kB / 0.8883 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01555, allocations: 4 kB / 0.8883 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01556, allocations: 4 kB / 0.8884 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01556, allocations: 0 / 0.8884 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01556, allocations: 0 / 0.8884 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.01576, allocations: 327.6 kB / 0.8887 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.01578, allocations: 23.83 kB / 0.8887 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.0158, allocations: 0 / 0.8887 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.01584, allocations: 8 kB / 0.8887 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.01588, allocations: 23.86 kB / 0.8887 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.01589, allocations: 8 kB / 0.8887 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001151/0.01601, allocations: 182.9 kB / 0.8889 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01601, allocations: 0 / 0.8889 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002349/0.01624, allocations: 67.94 kB / 0.889 GB, free: 9.961 MB / 0.8073 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.0001352/0.01638, allocations: 115.9 kB / 0.8891 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.01678, allocations: 471.4 kB / 0.8895 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01678, allocations: 0 / 0.8895 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.01685, allocations: 61.83 kB / 0.8896 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01715, allocations: 76.83 kB / 0.8897 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.01761, allocations: 351.2 kB / 0.89 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.01766, allocations: 79.98 kB / 0.8901 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.051e-05/0.01771, allocations: 21.95 kB / 0.8901 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.01775, allocations: 24.48 kB / 0.8901 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01775, allocations: 0 / 0.8901 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of Templates: time 0.005743/0.02349, allocations: 4.396 MB / 0.8944 GB, free: 4.414 MB / 0.8073 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.399921855889261]