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: 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.001453/0.001453, allocations: 106.8 kB / 15.99 MB, free: 6.359 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.001645/0.001645, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.319/2.319, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 69.42 kB / 0.8127 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2694, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002001/0.2714, allocations: 0.6691 MB / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008615/0.2723, allocations: 0.7827 MB / 0.9512 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.2723, allocations: 0 / 0.9512 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.2724, allocations: 0 / 0.9512 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.2725, allocations: 3.938 kB / 0.9512 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.242e-05/0.2725, allocations: 7.984 kB / 0.9512 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.2726, allocations: 15.98 kB / 0.9512 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.2726, allocations: 8 kB / 0.9513 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.2727, allocations: 15.92 kB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.2727, allocations: 7.938 kB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2728, allocations: 0 / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.2728, allocations: 4 kB / 0.9513 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.2728, allocations: 7.984 kB / 0.9513 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.2728, allocations: 7.875 kB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.475e-05/0.2729, allocations: 11.98 kB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2729, allocations: 0 / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2729, allocations: 0 / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2729, allocations: 0 / 0.9513 GB, free: 7.645 MB / 0.7325 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.0004163/0.2733, allocations: 335.5 kB / 0.9516 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2734, allocations: 8.031 kB / 0.9516 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.2734, allocations: 0.9375 kB / 0.9516 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2735, allocations: 176.5 kB / 0.9518 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2735, allocations: 384 / 0.9518 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2736, allocations: 384 / 0.9518 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2737, allocations: 38.25 kB / 0.9518 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2738, allocations: 4.188 kB / 0.9518 GB, free: 7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2738, allocations: 7.938 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2738, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.2739, allocations: 35.89 kB / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.2741, allocations: 149.7 kB / 0.952 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.2742, allocations: 30.59 kB / 0.9521 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.2743, allocations: 24.91 kB / 0.9521 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2743, allocations: 0 / 0.9521 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2743, allocations: 30.56 kB / 0.9521 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2744, allocations: 0 / 0.9521 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003147/0.2747, allocations: 81.52 kB / 0.9522 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.2747, allocations: 55.53 kB / 0.9522 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.2748, allocations: 105.8 kB / 0.9523 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2748, allocations: 25.7 kB / 0.9524 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.2749, allocations: 84.14 kB / 0.9524 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.2749, allocations: 4 kB / 0.9524 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2749, allocations: 9.719 kB / 0.9525 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2751, allocations: 310.8 kB / 0.9528 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.2751, allocations: 19.98 kB / 0.9528 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.2752, allocations: 19.97 kB / 0.9528 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2754, allocations: 36.77 kB / 0.9528 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2754, allocations: 0 / 0.9528 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001791/0.2756, allocations: 61.72 kB / 0.9529 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2756, allocations: 4 kB / 0.9529 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2756, allocations: 7.875 kB / 0.9529 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2756, allocations: 0 / 0.9529 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.2757, allocations: 8 kB / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2757, allocations: 0 / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.2757, allocations: 11.98 kB / 0.9529 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2758, allocations: 4 kB / 0.9529 GB, free: 5.762 MB / 0.7325 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.494e-05/0.2758, allocations: 109.8 kB / 0.953 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.2758, allocations: 7.906 kB / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.2759, allocations: 11.06 kB / 0.953 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2759, allocations: 3.984 kB / 0.953 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2759, allocations: 0 / 0.953 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2759, allocations: 0 / 0.953 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.927e-05/0.276, allocations: 153.7 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.276, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.2761, allocations: 7.984 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2761, allocations: 0 / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2761, allocations: 3.938 kB / 0.9532 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2761, allocations: 7.938 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2761, allocations: 3.984 kB / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.2763, allocations: 77.11 kB / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2763, allocations: 85.09 kB / 0.9534 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2764, allocations: 3.938 kB / 0.9534 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.2764, allocations: 8.031 kB / 0.9534 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2765, allocations: 7.984 kB / 0.9534 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.2765, allocations: 0 / 0.9534 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.2765, allocations: 79.28 kB / 0.9535 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2765, allocations: 0 / 0.9535 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001747/0.2767, allocations: 4 kB / 0.9535 GB, free: 5.102 MB / 0.7325 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.0001286/0.2768, allocations: 95.25 kB / 0.9536 GB, free: 5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.277, allocations: 43.89 kB / 0.9536 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2771, allocations: 0 / 0.9536 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.2771, allocations: 15.98 kB / 0.9536 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2774, allocations: 5.203 kB / 0.9536 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.2777, allocations: 127.3 kB / 0.9537 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2779, allocations: 0.6845 MB / 0.9544 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.278, allocations: 11.38 kB / 0.9544 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of SimCode: time 4.5e-07/0.278, allocations: 0 / 0.9544 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of Templates: time 0.002009/0.28, allocations: 0.4904 MB / 0.9549 GB, free: 3.57 MB / 0.7325 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