Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.0007162/0.0007161, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.004507/0.004508, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.093/2.093, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5089, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0005545/0.5095, allocations: 339.5 kB / 0.9555 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.5101, allocations: 0.7787 MB / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.5101, allocations: 0 / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.5101, allocations: 1.25 kB / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.5102, allocations: 3.938 kB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.073e-05/0.5102, allocations: 7.938 kB / 0.9563 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.5102, allocations: 15.52 kB / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.5103, allocations: 1.406 kB / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.5103, allocations: 10.89 kB / 0.9563 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.692e-05/0.5104, allocations: 6.375 kB / 0.9563 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.5104, allocations: 5.484 kB / 0.9563 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-06/0.5104, allocations: 3.938 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.5104, allocations: 1.469 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.5104, allocations: 35.03 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.675e-05/0.5105, allocations: 14.45 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5105, allocations: 0 / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5105, allocations: 5.328 kB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.5105, allocations: 0 / 0.9564 GB, free: 6.73 MB / 0.7169 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.0002774/0.5108, allocations: 332.5 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.5108, allocations: 9 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.119e-05/0.5109, allocations: 32.09 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.694e-05/0.5109, allocations: 4.938 kB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.511, allocations: 165.9 kB / 0.9569 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.511, allocations: 1.812 kB / 0.9569 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.511, allocations: 8.312 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.5111, allocations: 48.81 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.5111, allocations: 3.938 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.5111, allocations: 0 / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.5112, allocations: 0 / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.5113, allocations: 50.52 kB / 0.957 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.129e-05/0.5114, allocations: 152.6 kB / 0.9572 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.5115, allocations: 31.88 kB / 0.9572 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.5116, allocations: 30.94 kB / 0.9572 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.5116, allocations: 0 / 0.9572 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.167e-06/0.5116, allocations: 31.78 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.5116, allocations: 0 / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002824/0.5119, allocations: 103.1 kB / 0.9574 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.5119, allocations: 52.78 kB / 0.9574 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.094e-05/0.512, allocations: 103 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.512, allocations: 25.7 kB / 0.9575 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.512, allocations: 80.14 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.512, allocations: 1.25 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.512, allocations: 13.72 kB / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.029e-05/0.5121, allocations: 319.8 kB / 0.9579 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.5122, allocations: 17.08 kB / 0.9579 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.5122, allocations: 22.31 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5124, allocations: 46.05 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5124, allocations: 1.344 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001662/0.5126, allocations: 78.09 kB / 0.9581 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5126, allocations: 12.06 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5126, allocations: 0 / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.5126, allocations: 0 / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.5127, allocations: 5 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.5127, allocations: 1.531 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.5127, allocations: 14.2 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.5127, allocations: 0 / 0.9581 GB, free: 4.984 MB / 0.7169 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 3.553e-05/0.5128, allocations: 111.4 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.5128, allocations: 5.25 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.5128, allocations: 7.109 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5128, allocations: 1.281 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5128, allocations: 0 / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.5128, allocations: 5.078 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.597e-05/0.5129, allocations: 156 kB / 0.9584 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5129, allocations: 0 / 0.9584 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.5129, allocations: 11.67 kB / 0.9584 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5129, allocations: 3.938 kB / 0.9584 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.513, allocations: 5.344 kB / 0.9584 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.513, allocations: 0 / 0.9584 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.513, allocations: 0 / 0.9584 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.5131, allocations: 104.1 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.5132, allocations: 77.11 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.5132, allocations: 5.688 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.5132, allocations: 5.406 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.5132, allocations: 13.86 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.5133, allocations: 0 / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.5133, allocations: 82.84 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5133, allocations: 0 / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001611/0.5134, allocations: 1.812 kB / 0.9587 GB, free: 4.363 MB / 0.7169 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.0003055/0.5138, allocations: 0.6337 MB / 0.9593 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.5139, allocations: 51.61 kB / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5139, allocations: 0 / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.514, allocations: 22.36 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.5142, allocations: 8 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.5144, allocations: 127.6 kB / 0.9595 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.5145, allocations: 0.6713 MB / 0.9602 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.5145, allocations: 1.469 kB / 0.9602 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.5146, allocations: 11.38 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.5146, allocations: 0 / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3498/0.8644, allocations: 0.9687 MB / 0.9611 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.8646, allocations: 217.8 kB / 0.9613 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.543, allocations: 0 / 0.9613 GB, free: 2.16 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches