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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.121/3.121, allocations: 472.7 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 64.92 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4126, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002368/0.415, allocations: 0.614 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4163, allocations: 0.7806 MB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.4164, allocations: 4 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.4164, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.4165, allocations: 3.938 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.158e-05/0.4166, allocations: 7.984 kB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.4167, allocations: 15.94 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.4168, allocations: 3.984 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.4169, allocations: 11.94 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.4169, allocations: 7.984 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.417, allocations: 7.984 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.417, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.417, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.4171, allocations: 7.938 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.4172, allocations: 15.97 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4172, allocations: 4 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.027e-06/0.4172, allocations: 3.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4172, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 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.0006019/0.4178, allocations: 331.6 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4179, allocations: 8.031 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.4179, allocations: 4.844 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.4181, allocations: 168.6 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4181, allocations: 384 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4182, allocations: 4.312 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4183, allocations: 50.17 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4184, allocations: 192 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4184, allocations: 3.938 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4184, allocations: 4 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.4185, allocations: 23.97 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.4188, allocations: 153.7 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4189, allocations: 32.77 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.419, allocations: 24.89 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4191, allocations: 4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.4191, allocations: 30.56 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4191, allocations: 3.938 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003471/0.4195, allocations: 77.59 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4195, allocations: 51.41 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.4197, allocations: 106 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4197, allocations: 25.7 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.4197, allocations: 84.14 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.4198, allocations: 7.906 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.4198, allocations: 9.719 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.42, allocations: 314.8 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.4201, allocations: 15.98 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.868e-05/0.4201, allocations: 15.98 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4203, allocations: 40.77 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4203, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001886/0.4205, allocations: 61.66 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4205, allocations: 5.406 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4205, allocations: 8.031 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4206, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4207, allocations: 7.984 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4207, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.4207, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4208, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 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.244e-05/0.4208, allocations: 114.4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.4209, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.4209, allocations: 15.06 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4209, allocations: 3.938 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4209, allocations: 7.938 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4209, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4211, allocations: 145.7 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4211, allocations: 3.938 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.4211, allocations: 11.98 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4211, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4211, allocations: 7.938 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4211, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4212, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4214, allocations: 89.09 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.4214, allocations: 81.02 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.4214, allocations: 7.938 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.4215, allocations: 7.984 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.4216, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.4216, allocations: 4.031 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.4216, allocations: 79.28 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4216, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001763/0.4218, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 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.0001793/0.422, allocations: 104.8 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.4222, allocations: 31.91 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4222, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.4223, allocations: 15.98 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4226, allocations: 4 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.4229, allocations: 97.47 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4232, allocations: 0.6768 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.4232, allocations: 4.125 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4233, allocations: 7.438 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4233, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of Templates: time 0.002621/0.4259, allocations: 409.5 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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