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.001074/0.001074, 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.001048/0.001048, allocations: 195.7 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.251/1.251, 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 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5449, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001879/0.5469, allocations: 0.6022 MB / 0.9503 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.5476, allocations: 0.7915 MB / 0.9511 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.5476, allocations: 0 / 0.9511 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.5477, allocations: 4 kB / 0.9511 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.5478, allocations: 5.438 kB / 0.9511 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.504e-05/0.5478, allocations: 0 / 0.9511 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.5479, allocations: 23.2 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.5479, allocations: 1.625 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.548, allocations: 2.531 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.548, allocations: 14.64 kB / 0.9512 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.548, allocations: 1.312 kB / 0.9512 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.548, allocations: 1.562 kB / 0.9512 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.548, allocations: 0 / 0.9512 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.5481, allocations: 10.06 kB / 0.9512 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.635e-05/0.5481, allocations: 22.52 kB / 0.9512 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5481, allocations: 1.812 kB / 0.9512 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5481, allocations: 0 / 0.9512 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5482, allocations: 0 / 0.9512 GB, free: 8.078 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.0003113/0.5485, allocations: 332.6 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5485, allocations: 9.719 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.242e-05/0.5485, allocations: 35.97 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.913e-05/0.5486, allocations: 0.9375 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.473e-05/0.5486, allocations: 166.9 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.5487, allocations: 384 / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.5487, allocations: 4.312 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.5488, allocations: 44.08 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.5488, allocations: 3.938 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.5488, allocations: 0 / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5488, allocations: 1.188 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.549, allocations: 31.62 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.5491, allocations: 152.1 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.5492, allocations: 32.73 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.5493, allocations: 30.42 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.5493, allocations: 3.938 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.5493, allocations: 34.56 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.5493, allocations: 3.938 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002847/0.5496, allocations: 80.73 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.5496, allocations: 51.41 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.5497, allocations: 99.33 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.5497, allocations: 25.7 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.491e-05/0.5497, allocations: 89.31 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.5497, allocations: 4.781 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.5498, allocations: 11.84 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.5498, allocations: 312.2 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.5499, allocations: 16.2 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.55, allocations: 16.39 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.5501, allocations: 40.19 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5501, allocations: 1.344 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001611/0.5503, allocations: 52.89 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5503, allocations: 8.688 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5503, allocations: 1.469 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5503, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.5504, allocations: 12.95 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5504, allocations: 0 / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.5505, allocations: 11.11 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.5505, allocations: 9.109 kB / 0.9528 GB, free: 6.324 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 4.027e-05/0.5505, allocations: 106.8 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.5505, allocations: 9 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.5506, allocations: 4.062 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5506, allocations: 1 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5506, allocations: 0 / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5506, allocations: 4.906 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.499e-05/0.5506, allocations: 159.8 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5506, allocations: 1.062 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.5507, allocations: 4.156 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5507, allocations: 5.062 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.5507, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5507, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5507, allocations: 1.125 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.5509, allocations: 85.78 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.5509, allocations: 77.11 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.5509, allocations: 9.125 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.551, allocations: 8.359 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.551, allocations: 7.938 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.551, allocations: 1.281 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.015e-05/0.5511, allocations: 90.2 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5511, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001704/0.5512, allocations: 3.75 kB / 0.9534 GB, free: 5.707 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.0003542/0.5516, allocations: 0.6268 MB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.5518, allocations: 30.22 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5518, allocations: 0 / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.5519, allocations: 18.05 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.5521, allocations: 10.23 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.5524, allocations: 129.6 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.018e-05/0.5525, allocations: 0.6757 MB / 0.9548 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.5525, allocations: 1.062 kB / 0.9548 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.5526, allocations: 7.438 kB / 0.9549 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5526, allocations: 1.438 kB / 0.9549 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/0.6928, allocations: 1.199 MB / 0.956 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.17/7.863, allocations: 4.312 kB / 0.956 GB, free: 3.523 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