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.001775/0.001775, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0022/0.0022, allocations: 214 kB / 22.25 MB, free: 5.082 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.395/3.395, allocations: 0.49 GB / 0.7951 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",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.002306/0.002306, allocations: 73.14 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4197, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003116/0.4228, allocations: 1.295 MB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.4259, allocations: 1.74 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.4261, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.4262, allocations: 23.62 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.4265, allocations: 95.34 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.4283, allocations: 0.6418 MB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.4294, allocations: 0.7642 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.4296, allocations: 55.64 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006099/0.4302, allocations: 307.3 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.4309, allocations: 271.1 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.4311, allocations: 72 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.4314, allocations: 91.92 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.4315, allocations: 75.73 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.4319, allocations: 267.1 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.4327, allocations: 0.6973 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4327, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4327, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.4327, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 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.001448/0.4342, allocations: 0.8575 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4342, allocations: 16.03 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.4343, allocations: 54.72 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.4344, allocations: 48.75 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.4358, allocations: 397 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.4358, allocations: 24.38 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/0.4359, allocations: 48.36 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.4365, allocations: 216.3 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4365, allocations: 3.938 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.4365, allocations: 15.98 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.4365, allocations: 4 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.4369, allocations: 119.9 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.4382, allocations: 0.921 MB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.4389, allocations: 216.2 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.4391, allocations: 102.4 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4392, allocations: 15.97 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005652/0.4397, allocations: 293.7 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.482e-06/0.4397, allocations: 4 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.00115/0.4409, allocations: 457.2 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.441, allocations: 114.8 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.4412, allocations: 264.1 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.4413, allocations: 49.69 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4415, allocations: 161 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.4416, allocations: 103.2 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.4418, allocations: 154 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.442, allocations: 342.8 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.4425, allocations: 228.8 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.4433, allocations: 382.1 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.4442, allocations: 0.5797 MB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4442, allocations: 11.94 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001634/0.4459, allocations: 0.8507 MB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.446, allocations: 190.2 kB / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.446, allocations: 11.88 kB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4461, allocations: 4 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.4463, allocations: 51.89 kB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.4463, allocations: 7.938 kB / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/0.4473, allocations: 175.6 kB / 1.339 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.4474, allocations: 43.97 kB / 1.339 GB, free: 3.504 MB / 1.029 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.0002498/0.4476, allocations: 176 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.4477, allocations: 31.77 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.4478, allocations: 37.73 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4478, allocations: 4 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4478, allocations: 4 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.4478, allocations: 3.984 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4493, allocations: 0.895 MB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4493, allocations: 4 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.4495, allocations: 43.89 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4495, allocations: 0 / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4496, allocations: 19.98 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.4496, allocations: 0 / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4496, allocations: 0 / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4508, allocations: 0.7127 MB / 1.341 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.4508, allocations: 31.77 kB / 1.341 GB, free: 1.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.4509, allocations: 12.03 kB / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4511, allocations: 19.98 kB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.4512, allocations: 23.95 kB / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.4512, allocations: 19.98 kB / 1.341 GB, free: 1.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001918/0.4514, allocations: 191 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4514, allocations: 0 / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005109/0.4519, allocations: 111.9 kB / 1.342 GB, free: 1.098 MB / 1.029 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.001639/0.4536, allocations: 1.265 MB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.4549, allocations: 0.7652 MB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4549, allocations: 0 / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.4553, allocations: 139.8 kB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.456, allocations: 105.8 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/0.4627, allocations: 4.276 MB / 1.348 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.4632, allocations: 0.7728 MB / 1.349 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.4634, allocations: 59.45 kB / 1.349 GB, free: 9.375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.4636, allocations: 111.4 kB / 1.349 GB, free: 9.266 MB / 1.045 GB Notification: Performance of SimCode: time 9.02e-07/0.4636, allocations: 0 / 1.349 GB, free: 9.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.5065, allocations: 10.25 MB / 1.359 GB, free: 15.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.37, allocations: 17.45 kB / 1.359 GB, free: 15.22 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.471492463024333]