Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009645/0.009645, allocations: 100.6 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 188.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3063, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002084/0.3084, allocations: 0.5973 MB / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.3094, allocations: 0.7844 MB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.3095, allocations: 4 kB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.3095, allocations: 0 / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.3096, allocations: 3.938 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.028e-05/0.3097, allocations: 7.984 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.3098, allocations: 12 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3098, allocations: 0 / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.3099, allocations: 11.98 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.3099, allocations: 11.92 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.31, allocations: 4 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.31, allocations: 3.938 kB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.31, allocations: 7.984 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.31, allocations: 7.938 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.149e-05/0.3101, allocations: 15.97 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3101, allocations: 0 / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3101, allocations: 0 / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3101, allocations: 0 / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004601/0.3106, allocations: 335.8 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3107, allocations: 8.625 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.3107, allocations: 30.75 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.3107, allocations: 8.922 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3109, allocations: 168.3 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3109, allocations: 384 / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3109, allocations: 384 / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3111, allocations: 42.25 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3111, allocations: 7.922 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3111, allocations: 8 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3111, allocations: 0 / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3113, allocations: 27.91 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3115, allocations: 149.7 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3116, allocations: 34.59 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.3117, allocations: 24.84 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3117, allocations: 0 / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3117, allocations: 34.55 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3117, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003225/0.3121, allocations: 81.53 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.3121, allocations: 55.53 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.3122, allocations: 101.8 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3122, allocations: 25.7 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.3123, allocations: 88.14 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3123, allocations: 3.906 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3124, allocations: 9.719 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3125, allocations: 314.8 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3126, allocations: 19.98 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.3127, allocations: 15.98 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3128, allocations: 32.83 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3128, allocations: 0 / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001693/0.313, allocations: 65.59 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.313, allocations: 12.03 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.313, allocations: 0 / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.313, allocations: 0 / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.3131, allocations: 11.98 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3132, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.3132, allocations: 4 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3132, allocations: 0 / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 9.766e-05/0.3133, allocations: 105.8 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.3133, allocations: 7.922 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.3134, allocations: 11.12 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3134, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3134, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3134, allocations: 192 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3135, allocations: 153.7 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3135, allocations: 0 / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3136, allocations: 11.97 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3136, allocations: 3.938 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3136, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3136, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3136, allocations: 15.88 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.3138, allocations: 89 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.3139, allocations: 81.11 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3139, allocations: 3.938 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.3139, allocations: 7.984 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.314, allocations: 4.031 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.314, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.314, allocations: 79.28 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.314, allocations: 0 / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001768/0.3142, allocations: 4 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004955/0.3147, allocations: 0.6279 MB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3149, allocations: 35.95 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3149, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.315, allocations: 11.98 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.3152, allocations: 12.16 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.3156, allocations: 123.1 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3159, allocations: 0.6806 MB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3159, allocations: 0 / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.316, allocations: 11.44 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.316, allocations: 0 / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.3321, allocations: 1.235 MB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.067, allocations: 6.359 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches