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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009979/0.009979, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001799/0.001799, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 0.9504 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8354, allocations: 140.4 MB / 1.088 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002019/0.8374, allocations: 0.6005 MB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.8383, allocations: 0.782 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.8383, allocations: 1.094 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.8383, allocations: 8.438 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.8384, allocations: 1 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.035e-05/0.8384, allocations: 6.297 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.8385, allocations: 16.98 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.8386, allocations: 6.953 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.8386, allocations: 7.984 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.8387, allocations: 5.453 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.8387, allocations: 5.062 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-06/0.8387, allocations: 2.094 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.8387, allocations: 5.406 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.8387, allocations: 5.859 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.672e-05/0.8388, allocations: 21.64 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8388, allocations: 1.094 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8388, allocations: 0 / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8388, allocations: 0 / 1.089 GB, free: 4.23 MB / 0.8575 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.0003702/0.8392, allocations: 332.8 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8393, allocations: 14 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.8393, allocations: 35.25 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.006e-05/0.8393, allocations: 6 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.297e-05/0.8394, allocations: 162.9 kB / 1.089 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8394, allocations: 1.75 kB / 1.089 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.8394, allocations: 384 / 1.089 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.8396, allocations: 45.56 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.8396, allocations: 5 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.8396, allocations: 4 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8396, allocations: 0.6094 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.8398, allocations: 25.61 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.8399, allocations: 153 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.84, allocations: 37.31 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.8401, allocations: 26.02 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.8401, allocations: 0 / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.8402, allocations: 32.56 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.8402, allocations: 0 / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003317/0.8405, allocations: 83.64 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.8406, allocations: 51.53 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.8406, allocations: 102 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.8406, allocations: 25.7 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.8407, allocations: 85.55 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.8407, allocations: 4.562 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.8407, allocations: 17.02 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.8408, allocations: 311.5 kB / 1.09 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.8409, allocations: 17.28 kB / 1.09 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.841, allocations: 25.38 kB / 1.09 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.8411, allocations: 34.2 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8411, allocations: 0.7812 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001815/0.8413, allocations: 63.38 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8413, allocations: 17.98 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8413, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.8414, allocations: 1.062 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.8415, allocations: 7.609 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8415, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.8415, allocations: 6.734 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.8415, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 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 4.525e-05/0.8416, allocations: 107.7 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.8416, allocations: 6.328 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.8416, allocations: 8.828 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.8416, allocations: 0 / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8416, allocations: 0 / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8416, allocations: 1.828 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.409e-05/0.8417, allocations: 153.1 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8417, allocations: 0 / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.8418, allocations: 7.406 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8418, allocations: 5.031 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.8418, allocations: 0.5156 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8418, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8418, allocations: 5.703 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.842, allocations: 87.97 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.842, allocations: 78.78 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.842, allocations: 5.031 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.8421, allocations: 5.75 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.8421, allocations: 6.188 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.8421, allocations: 0.875 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.8422, allocations: 79.8 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8422, allocations: 0 / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00017/0.8423, allocations: 2.438 kB / 1.091 GB, free: 1.992 MB / 0.8575 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.0003839/0.8427, allocations: 0.6294 MB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.843, allocations: 36.05 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.843, allocations: 0 / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.843, allocations: 13.88 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.8433, allocations: 14.53 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.8436, allocations: 119.9 kB / 1.092 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.8439, allocations: 0.678 MB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.8439, allocations: 1.828 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.844, allocations: 12.53 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.844, allocations: 0 / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.8606, allocations: 1.231 MB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.735, allocations: 15.83 kB / 1.094 GB, free: 16.15 MB / 0.8731 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