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.00172/0.00172, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001915/0.001915, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.41/2.41, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 69.62 kB / 0.814 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3464, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002957/0.3494, allocations: 0.5972 MB / 0.9517 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3507, allocations: 0.7962 MB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.3508, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.3508, allocations: 3.938 kB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.3509, allocations: 0 / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.605e-05/0.351, allocations: 3.984 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.3511, allocations: 19.94 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.3511, allocations: 3.984 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.3512, allocations: 4 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.3513, allocations: 15.94 kB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3513, allocations: 0 / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.3513, allocations: 0 / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3513, allocations: 3.984 kB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.3514, allocations: 8 kB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.867e-05/0.3515, allocations: 27.89 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3515, allocations: 0 / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3515, allocations: 0 / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3515, allocations: 0 / 0.9526 GB, free: 6.535 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.000501/0.352, allocations: 331.4 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3521, allocations: 11.97 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3521, allocations: 4.922 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3522, allocations: 172.2 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3523, allocations: 384 / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.3523, allocations: 384 / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3525, allocations: 42.25 kB / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3525, allocations: 4.172 kB / 0.9531 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3525, allocations: 7.938 kB / 0.9531 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3525, allocations: 4 kB / 0.9531 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3526, allocations: 27.97 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.3528, allocations: 149.7 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.353, allocations: 34.53 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.3531, allocations: 23.02 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3531, allocations: 4 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3531, allocations: 34.55 kB / 0.9534 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3531, allocations: 0 / 0.9534 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003206/0.3534, allocations: 73.59 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3535, allocations: 55.34 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.3536, allocations: 109.9 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3536, allocations: 25.7 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.3537, allocations: 84.14 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3537, allocations: 0 / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.3537, allocations: 9.719 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3539, allocations: 322.8 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.354, allocations: 11.98 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.354, allocations: 15.98 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3542, allocations: 32.83 kB / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3542, allocations: 0 / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001539/0.3543, allocations: 65.59 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3544, allocations: 4 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3544, allocations: 8.031 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3544, allocations: 0 / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.3545, allocations: 15.98 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3545, allocations: 0 / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.3545, allocations: 4 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3546, allocations: 0 / 0.9542 GB, free: 4.656 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 8.354e-05/0.3546, allocations: 109.8 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.3547, allocations: 7.891 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3547, allocations: 15.06 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3547, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3547, allocations: 192 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3547, allocations: 3.938 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3548, allocations: 157.7 kB / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3548, allocations: 0 / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.3549, allocations: 7.984 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3549, allocations: 0 / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3549, allocations: 3.938 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3549, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3549, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.3551, allocations: 89.03 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.3552, allocations: 81.11 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3552, allocations: 3.938 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.3553, allocations: 7.984 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3553, allocations: 0 / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3553, allocations: 7.969 kB / 0.9547 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.3554, allocations: 83.28 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.3554, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001772/0.3556, allocations: 4 kB / 0.9548 GB, free: 3.988 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.0001703/0.3557, allocations: 99.23 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.356, allocations: 31.97 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.356, allocations: 4.062 kB / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.356, allocations: 15.92 kB / 0.9549 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.3563, allocations: 5.031 kB / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.3567, allocations: 93.62 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3569, allocations: 0.6843 MB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.357, allocations: 0 / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.357, allocations: 11.5 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.357, allocations: 0 / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.002575/0.3596, allocations: 417.9 kB / 0.9561 GB, free: 2.586 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 -s cvode -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