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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 97.78 kB / 16.02 MB, free: 76 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.001409/0.001409, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.324 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.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.00038, allocations: 8 kB / 0.8167 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8018, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0007445/0.8026, allocations: 343.1 kB / 0.9561 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.8032, allocations: 0.7826 MB / 0.9568 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.8033, allocations: 4 kB / 0.9568 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.8033, allocations: 0 / 0.9568 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.8034, allocations: 5.406 kB / 0.9568 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.715e-05/0.8034, allocations: 0 / 0.9568 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.8035, allocations: 23.02 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.8035, allocations: 1.469 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.8036, allocations: 2.594 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.8036, allocations: 6.734 kB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.8037, allocations: 5.5 kB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-06/0.8037, allocations: 0 / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.8037, allocations: 12.75 kB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.8037, allocations: 30.91 kB / 0.9569 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.852e-05/0.8038, allocations: 10.75 kB / 0.9569 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8038, allocations: 0 / 0.9569 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8038, allocations: 0 / 0.9569 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.8038, allocations: 1.406 kB / 0.9569 GB, free: 6.734 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.0003366/0.8041, allocations: 333.3 kB / 0.9572 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.8042, allocations: 13.41 kB / 0.9573 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.8042, allocations: 5.938 kB / 0.9573 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.8043, allocations: 164.8 kB / 0.9574 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.8043, allocations: 4.359 kB / 0.9574 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.8043, allocations: 4.312 kB / 0.9574 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.8045, allocations: 52.98 kB / 0.9575 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.8045, allocations: 192 / 0.9575 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.8045, allocations: 7.938 kB / 0.9575 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8045, allocations: 1.062 kB / 0.9575 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.8047, allocations: 37.81 kB / 0.9575 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.8048, allocations: 152.4 kB / 0.9577 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.8049, allocations: 40.97 kB / 0.9577 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.805, allocations: 26.89 kB / 0.9577 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.805, allocations: 0 / 0.9577 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.8051, allocations: 30.56 kB / 0.9578 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.8051, allocations: 5.469 kB / 0.9578 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003163/0.8054, allocations: 93.81 kB / 0.9579 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.8054, allocations: 60.45 kB / 0.9579 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/0.8055, allocations: 95.42 kB / 0.958 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.8055, allocations: 25.7 kB / 0.958 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.8055, allocations: 85.14 kB / 0.9581 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.8055, allocations: 3.906 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.8056, allocations: 10.94 kB / 0.9581 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.8056, allocations: 315.9 kB / 0.9584 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.8057, allocations: 24.8 kB / 0.9584 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.8058, allocations: 17.45 kB / 0.9585 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.8059, allocations: 47.58 kB / 0.9585 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8059, allocations: 0 / 0.9585 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001813/0.8061, allocations: 74.31 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8062, allocations: 5.406 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.8062, allocations: 9 kB / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8062, allocations: 0 / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.8063, allocations: 10.89 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8063, allocations: 1.031 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.8063, allocations: 10.06 kB / 0.9586 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.8064, allocations: 0 / 0.9586 GB, free: 5.023 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 6.39e-05/0.8064, allocations: 115.2 kB / 0.9587 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-06/0.8064, allocations: 1.375 kB / 0.9587 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.8065, allocations: 8.5 kB / 0.9587 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8065, allocations: 0 / 0.9587 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8065, allocations: 3.938 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8065, allocations: 1.438 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.69e-05/0.8065, allocations: 152.3 kB / 0.9589 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8065, allocations: 3.938 kB / 0.9589 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.8066, allocations: 11.48 kB / 0.9589 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8066, allocations: 4 kB / 0.9589 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.8066, allocations: 5 kB / 0.9589 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8066, allocations: 0 / 0.9589 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8066, allocations: 0 / 0.9589 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.8068, allocations: 103.2 kB / 0.959 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.8069, allocations: 82.36 kB / 0.9591 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.8069, allocations: 5.031 kB / 0.9591 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.8069, allocations: 10.02 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.807, allocations: 1.062 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.807, allocations: 0 / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.243e-05/0.807, allocations: 82.64 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.807, allocations: 1.156 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00017/0.8072, allocations: 6.531 kB / 0.9592 GB, free: 4.402 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.0001017/0.8073, allocations: 101.4 kB / 0.9593 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.8075, allocations: 43.59 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8075, allocations: 3.938 kB / 0.9593 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.8076, allocations: 22.64 kB / 0.9594 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.8078, allocations: 10.11 kB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.808, allocations: 122.4 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.502e-05/0.8081, allocations: 0.6785 MB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.8081, allocations: 11.38 kB / 0.9602 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8081, allocations: 0 / 0.9602 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.001603/0.8097, allocations: 489.5 kB / 0.9606 GB, free: 3.191 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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