Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001986/0.001986, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002576/0.002576, allocations: 220 kB / 22.24 MB, free: 5.109 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.824 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.297/3.297, allocations: 0.4892 GB / 0.7943 GB, free: 35.38 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.Sources.Validation.Ramp,fileNamePrefix="Buildings_12_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_12_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.002188/0.002188, allocations: 63.88 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3712, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002132/0.3733, allocations: 0.6125 MB / 1.326 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3746, allocations: 0.8086 MB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.3746, allocations: 0 / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.3747, allocations: 3.938 kB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.3747, allocations: 0 / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.3748, allocations: 11.98 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.3749, allocations: 15.92 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.3749, allocations: 11.98 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.375, allocations: 7.938 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.375, allocations: 7.984 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.375, allocations: 0 / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.375, allocations: 4 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.375, allocations: 4 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.3751, allocations: 3.938 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.106e-05/0.3751, allocations: 16.25 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3751, allocations: 0 / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3752, allocations: 0 / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3752, allocations: 0 / 1.327 GB, free: 0.8242 MB / 1.014 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.0004394/0.3756, allocations: 262.4 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3756, allocations: 8.031 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.3757, allocations: 34.73 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.3757, allocations: 0.9375 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3758, allocations: 114.4 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3758, allocations: 4.312 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.3758, allocations: 384 / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.376, allocations: 42.25 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.376, allocations: 15.92 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.376, allocations: 0 / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.376, allocations: 0 / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.3762, allocations: 23.97 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.3764, allocations: 120.8 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3765, allocations: 38.48 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.3766, allocations: 16.91 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3766, allocations: 7.938 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3766, allocations: 34.56 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3766, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003263/0.3769, allocations: 81.53 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.377, allocations: 55.41 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3773, allocations: 97.94 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3773, allocations: 25.7 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3774, allocations: 92.23 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3774, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3775, allocations: 13.72 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003386/0.3779, allocations: 310.8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3779, allocations: 15.98 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.378, allocations: 11.98 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3782, allocations: 40.81 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3782, allocations: 4.062 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002218/0.3784, allocations: 57.67 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3784, allocations: 9.656 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3784, allocations: 48 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3784, allocations: 7.922 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.3785, allocations: 7.984 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3785, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3786, allocations: 7.984 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3786, allocations: 12.02 kB / 1.328 GB, free: 15.08 MB / 1.029 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.065e-05/0.3787, allocations: 106.4 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.3787, allocations: 7.891 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.3787, allocations: 7.156 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3787, allocations: 7.938 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3787, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3787, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.3789, allocations: 124.8 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3789, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.3789, allocations: 7.984 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3789, allocations: 7.938 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3789, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3789, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3789, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3791, allocations: 93.03 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.3792, allocations: 0 / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3792, allocations: 3.938 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.345e-05/0.3792, allocations: 7.984 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3793, allocations: 4.031 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.3793, allocations: 4 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.3793, allocations: 79.22 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001717/0.3795, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 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.0005759/0.3801, allocations: 0.6163 MB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3803, allocations: 43.92 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3803, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.3804, allocations: 11.98 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3806, allocations: 8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.381, allocations: 119.3 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.197e-05/0.3811, allocations: 59.34 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.3811, allocations: 4.125 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.3811, allocations: 11.44 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3811, allocations: 0 / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.4083, allocations: 1.747 MB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 7 kB / 1.331 GB, free: 11.97 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.68374867970124]