Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.468/3.468, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 74.8 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4374, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002146/0.4395, allocations: 0.6662 MB / 1.326 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4407, allocations: 0.8125 MB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.4408, allocations: 0 / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.4408, allocations: 3.938 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.4409, allocations: 11.92 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.215e-05/0.4409, allocations: 7.984 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.441, allocations: 16 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4411, allocations: 11.92 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.4412, allocations: 11.94 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.4412, allocations: 7.984 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4413, allocations: 4 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.4413, allocations: 4 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.4413, allocations: 7.938 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.4413, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.4414, allocations: 39.81 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4414, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4414, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4414, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005147/0.4419, allocations: 262.3 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.442, allocations: 8.031 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.442, allocations: 4.938 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.4421, allocations: 110.5 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4421, allocations: 384 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.4421, allocations: 384 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.4423, allocations: 54.17 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.4423, allocations: 192 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4424, allocations: 7.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4424, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.4425, allocations: 35.95 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.443, allocations: 200.6 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4432, allocations: 38.5 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.4433, allocations: 32.83 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4433, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.4434, allocations: 30.56 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.4434, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004449/0.4438, allocations: 85.64 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.4439, allocations: 51.41 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.444, allocations: 101.9 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.444, allocations: 25.7 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.4441, allocations: 84.12 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4442, allocations: 11.89 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.4442, allocations: 13.72 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4444, allocations: 310.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.4445, allocations: 28.05 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.4445, allocations: 15.97 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.4447, allocations: 36.83 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4447, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00021/0.4449, allocations: 77.61 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4449, allocations: 8.031 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4449, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.445, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4451, allocations: 11.98 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4451, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4451, allocations: 4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.4451, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0001078/0.4452, allocations: 113.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.4453, allocations: 3.938 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.4453, allocations: 15.3 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.4453, allocations: 3.984 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4453, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4453, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.4455, allocations: 109.3 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4455, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.4455, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4455, allocations: 7.875 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4455, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4455, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4455, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.4458, allocations: 163.8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.4458, allocations: 7.891 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.4458, allocations: 7.984 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.4459, allocations: 4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.4459, allocations: 15.86 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4459, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.446, allocations: 83.28 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.446, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002201/0.4462, allocations: 8.031 kB / 1.329 GB, free: 13.8 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0001468/0.4464, allocations: 99.23 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.4466, allocations: 35.95 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4466, allocations: 0 / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.4467, allocations: 19.98 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.447, allocations: 4.125 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.4474, allocations: 113.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.4475, allocations: 59.34 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4475, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.4475, allocations: 11.44 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4475, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Templates: time 0.003339/0.4509, allocations: 468.9 kB / 1.33 GB, free: 12.95 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.7104671318084]