Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.002474/0.002474, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.00282/0.00282, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.599/1.599, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.059/3.059, allocations: 377.9 MB / 0.6232 GB, free: 8.543 MB / 0.5886 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.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.913e-05, allocations: 6.266 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002683/0.002712, allocations: 1.242 MB / 0.8121 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.005375, allocations: 1.719 MB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.005469, allocations: 0 / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.005527, allocations: 25.2 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.005786, allocations: 95.27 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.00717, allocations: 0.6351 MB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.008299, allocations: 0.7577 MB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.008448, allocations: 44.91 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.009, allocations: 433.9 kB / 0.8157 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.009406, allocations: 227.3 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.009548, allocations: 72 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.009732, allocations: 83.98 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.009823, allocations: 79.67 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.01013, allocations: 211.6 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009968/0.01112, allocations: 0.8069 MB / 0.8171 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.01113, allocations: 0 / 0.8171 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01113, allocations: 0.7188 kB / 0.8171 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.01114, allocations: 4 kB / 0.8171 GB, free: 11.62 MB / 0.7761 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.001611/0.01275, allocations: 0.9937 MB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.01278, allocations: 8.031 kB / 0.8181 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.01296, allocations: 60.75 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.01429, allocations: 387 kB / 0.8186 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.01434, allocations: 24.38 kB / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.01445, allocations: 52.36 kB / 0.8186 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.01491, allocations: 223 kB / 0.8188 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01492, allocations: 1.281 kB / 0.8188 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.01495, allocations: 8.359 kB / 0.8188 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.01496, allocations: 8.125 kB / 0.8189 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.01528, allocations: 112.8 kB / 0.819 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01678, allocations: 0.9685 MB / 0.8199 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.01741, allocations: 233.6 kB / 0.8201 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.01765, allocations: 101.8 kB / 0.8202 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.01769, allocations: 11.98 kB / 0.8202 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005592/0.01824, allocations: 298.6 kB / 0.8205 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.412e-06/0.01825, allocations: 4 kB / 0.8205 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001126/0.01937, allocations: 455 kB / 0.821 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.01947, allocations: 118.7 kB / 0.8211 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.01987, allocations: 362.3 kB / 0.8214 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.01995, allocations: 45.7 kB / 0.8215 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.02017, allocations: 220.7 kB / 0.8217 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.02029, allocations: 111.2 kB / 0.8218 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/0.02081, allocations: 172.4 kB / 0.8219 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003235/0.02114, allocations: 0.5352 MB / 0.8225 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.02187, allocations: 454.8 kB / 0.8229 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.02297, allocations: 0.8686 MB / 0.8238 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.02401, allocations: 0.6333 MB / 0.8244 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.02402, allocations: 0 / 0.8244 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001977/0.02599, allocations: 1.131 MB / 0.8255 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.02615, allocations: 182.2 kB / 0.8256 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.02616, allocations: 4.719 kB / 0.8257 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.02618, allocations: 4.594 kB / 0.8257 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.0264, allocations: 51.91 kB / 0.8257 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.02641, allocations: 4.656 kB / 0.8257 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.0272, allocations: 146.4 kB / 0.8259 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/0.0273, allocations: 46.53 kB / 0.8259 GB, free: 1.938 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0002749/0.02757, allocations: 218.4 kB / 0.8261 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.02766, allocations: 51.8 kB / 0.8262 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.02774, allocations: 31.45 kB / 0.8262 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.02774, allocations: 8 kB / 0.8262 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.02775, allocations: 4 kB / 0.8262 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02775, allocations: 0 / 0.8262 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.02926, allocations: 0.9928 MB / 0.8272 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02927, allocations: 0 / 0.8272 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.02948, allocations: 39.91 kB / 0.8272 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.02948, allocations: 0 / 0.8272 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.02951, allocations: 11.98 kB / 0.8272 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.02952, allocations: 4 kB / 0.8272 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.02952, allocations: 3.938 kB / 0.8272 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.0308, allocations: 0.8385 MB / 0.828 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.03085, allocations: 39.69 kB / 0.8281 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.0309, allocations: 15.98 kB / 0.8281 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.03112, allocations: 15.92 kB / 0.8281 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.03119, allocations: 23.95 kB / 0.8281 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.03122, allocations: 19.98 kB / 0.8282 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002467/0.03147, allocations: 235 kB / 0.8284 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.03147, allocations: 0 / 0.8284 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005403/0.03201, allocations: 119.9 kB / 0.8285 GB, free: 15.21 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002207/0.03223, allocations: 123 kB / 0.8286 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.03411, allocations: 1.081 MB / 0.8297 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03411, allocations: 0 / 0.8297 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.03445, allocations: 151.5 kB / 0.8298 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008464/0.03529, allocations: 127.8 kB / 0.8299 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.03653, allocations: 0.588 MB / 0.8305 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.03674, allocations: 165 kB / 0.8307 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.03694, allocations: 55.25 kB / 0.8307 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.03703, allocations: 40.5 kB / 0.8308 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of SimCode: time 6.71e-07/0.03703, allocations: 4 kB / 0.8308 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of Templates: time 0.01553/0.05256, allocations: 7.707 MB / 0.8383 GB, free: 5.191 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.500565332942642]