Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00935/0.00935, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001648/0.001648, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.501/1.501, 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002058/1.119, allocations: 0.5776 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.884e-05/1.119, allocations: 0.7969 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/1.119, allocations: 5.188 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/1.119, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/1.119, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.476e-05/1.119, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/1.119, allocations: 6.594 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/1.119, allocations: 1.609 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/1.119, allocations: 0.9688 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/1.119, allocations: 4.562 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/1.119, allocations: 1.031 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-06/1.119, allocations: 3.938 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/1.119, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/1.119, allocations: 4.969 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.371e-05/1.119, allocations: 2.641 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.119, allocations: 0 / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.119, allocations: 8.875 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.119, allocations: 0 / 1.089 GB, free: 5.105 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.0003029/1.12, allocations: 313.8 kB / 1.089 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.12, allocations: 9.75 kB / 1.089 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/1.12, allocations: 6.094 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/1.12, allocations: 161.6 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.12, allocations: 5.594 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.12, allocations: 384 / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/1.12, allocations: 29.55 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/1.12, allocations: 192 / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.12, allocations: 3.938 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.12, allocations: 0.75 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/1.12, allocations: 2.25 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/1.12, allocations: 385.6 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/1.12, allocations: 174.5 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/1.12, allocations: 80.95 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/1.12, allocations: 75.28 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.12, allocations: 111.2 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.12, allocations: 4.906 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.99e-05/1.121, allocations: 31.33 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.121, allocations: 127.5 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/1.121, allocations: 94.45 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/1.121, allocations: 25.7 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/1.121, allocations: 81.2 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/1.121, allocations: 0 / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/1.121, allocations: 15.59 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/1.121, allocations: 316.5 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/1.121, allocations: 1.188 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-06/1.121, allocations: 0 / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.824e-05/1.121, allocations: 75.89 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/1.121, allocations: 80.19 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.905e-05/1.121, allocations: 36.45 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.121, allocations: 81.12 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.121, allocations: 80.16 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-05/1.121, allocations: 160.4 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/1.121, allocations: 77.2 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.084e-05/1.121, allocations: 155.7 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/1.121, allocations: 80.72 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.121, allocations: 77.09 kB / 1.091 GB, free: 2.043 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 (0): * Single equations (assignments): 0 * 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 0.0001549/1.121, allocations: 266 kB / 1.092 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/1.121, allocations: 106.5 kB / 1.092 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/1.121, allocations: 106.4 kB / 1.092 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/1.121, allocations: 186.9 kB / 1.092 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.023e-05/1.122, allocations: 180.9 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-05/1.122, allocations: 182 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.122, allocations: 406.1 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/1.122, allocations: 106.9 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/1.122, allocations: 101.7 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/1.122, allocations: 182.2 kB / 1.093 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/1.122, allocations: 182.2 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.831e-05/1.122, allocations: 190.3 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.09e-05/1.122, allocations: 180.8 kB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/1.122, allocations: 314 kB / 1.094 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/1.123, allocations: 180.8 kB / 1.094 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/1.123, allocations: 186.8 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/1.123, allocations: 106.7 kB / 1.094 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/1.123, allocations: 180.9 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/1.123, allocations: 107.5 kB / 1.095 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.601e-05/1.123, allocations: 77.58 kB / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.123, allocations: 0 / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002668/1.123, allocations: 1.094 kB / 1.095 GB, free: 14.41 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0001745/1.123, allocations: 179.2 kB / 1.095 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.554e-05/1.123, allocations: 4.016 kB / 1.095 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.123, allocations: 0 / 1.095 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/1.123, allocations: 5.031 kB / 1.095 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/1.124, allocations: 461.7 kB / 1.095 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/1.124, allocations: 155 kB / 1.096 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/1.124, allocations: 0.672 MB / 1.096 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.045e-05/1.124, allocations: 0 / 1.096 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/1.124, allocations: 8.531 kB / 1.096 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.124, allocations: 0 / 1.096 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.002069/1.126, allocations: 171.2 kB / 1.096 GB, free: 12.85 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches