Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001318/0.001318, 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.00152/0.00152, allocations: 215.9 kB / 22.26 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.938/2.938, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Sources.Validation.Ramp,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_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.002096/0.002096, allocations: 62.83 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001966/0.3373, allocations: 0.6075 MB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3385, allocations: 0.82 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.3385, allocations: 0 / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.3385, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.3386, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.939e-05/0.3387, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.3387, allocations: 23.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.3388, allocations: 8 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.3389, allocations: 7.875 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.3389, allocations: 15.98 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3389, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.3389, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.339, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.339, allocations: 7.938 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.3391, allocations: 19.95 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3391, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3391, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3391, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 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.0004543/0.3395, allocations: 266.6 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3396, allocations: 15.97 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.3396, allocations: 30.75 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.3396, allocations: 0.9375 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3398, allocations: 110.5 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3398, allocations: 384 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.3398, allocations: 384 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.34, allocations: 42.23 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.34, allocations: 3.938 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.34, allocations: 4 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.34, allocations: 0 / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.3401, allocations: 31.97 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.3403, allocations: 124.8 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3404, allocations: 38.53 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.3405, allocations: 24.89 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.3405, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.3406, allocations: 30.56 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3406, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003266/0.3409, allocations: 81.53 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.341, allocations: 59.52 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.341, allocations: 97.84 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3411, allocations: 25.7 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3412, allocations: 88.14 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.3412, allocations: 3.953 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3412, allocations: 9.719 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3414, allocations: 314.8 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.3414, allocations: 15.98 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.3415, allocations: 19.98 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3417, allocations: 32.83 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3417, allocations: 0 / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002599/0.3419, allocations: 65.59 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.342, allocations: 12.03 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.342, allocations: 3.938 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.342, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3421, allocations: 7.984 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3421, allocations: 0 / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.3421, allocations: 7.938 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3421, allocations: 7.984 kB / 1.286 GB, free: 8.43 MB / 0.9825 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 8.188e-05/0.3422, allocations: 105.8 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3422, allocations: 7.938 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.3422, allocations: 3.156 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3422, allocations: 4 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3423, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.3423, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3424, allocations: 124.8 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3424, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.3424, allocations: 7.984 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3424, allocations: 3.938 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3424, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3424, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3424, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3427, allocations: 92.98 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.3427, allocations: 4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3427, allocations: 3.938 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.3427, allocations: 7.984 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.3428, allocations: 4.031 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3428, allocations: 4 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.3428, allocations: 79.28 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3428, allocations: 0 / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00018/0.343, allocations: 4 kB / 1.287 GB, free: 7.91 MB / 0.9825 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.0005319/0.3435, allocations: 0.6241 MB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3437, allocations: 31.91 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3437, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.3438, allocations: 15.98 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.344, allocations: 9.703 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.3444, allocations: 119.3 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3447, allocations: 0.6729 MB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.3447, allocations: 4 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3448, allocations: 11.44 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.3448, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3741, allocations: 1.32 MB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.67, allocations: 17.25 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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: 18.403622585115954]