Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001762/0.001762, 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.002402/0.002402, allocations: 210.2 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.916/2.916, allocations: 475.9 MB / 0.7699 GB, free: 4.812 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002169/0.002169, allocations: 68.34 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4183, allocations: 169.9 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.00206/0.4204, allocations: 0.6786 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.4215, allocations: 0.8161 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.4215, allocations: 0 / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.4216, allocations: 3.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.4216, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.51e-05/0.4217, allocations: 11.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.4218, allocations: 23.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4219, allocations: 8 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.422, allocations: 11.94 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.422, allocations: 15.91 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.422, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.422, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.4221, allocations: 3.938 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.4221, allocations: 11.92 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.713e-05/0.4222, allocations: 19.91 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4222, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4222, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4222, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 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.0004641/0.4227, allocations: 262.3 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4227, allocations: 12.03 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.4227, allocations: 0.9375 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4229, allocations: 110.5 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4229, allocations: 4.312 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.4229, allocations: 384 / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.4231, allocations: 50.23 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4231, allocations: 192 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4231, allocations: 7.938 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.4231, allocations: 4 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.4233, allocations: 39.89 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.4236, allocations: 188.6 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4237, allocations: 38.59 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.4238, allocations: 24.84 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.4238, allocations: 7.938 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.4239, allocations: 34.56 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4239, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003586/0.4242, allocations: 85.58 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4243, allocations: 51.41 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.4244, allocations: 105.8 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4244, allocations: 25.7 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.4244, allocations: 84.14 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.4245, allocations: 12.02 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.4245, allocations: 13.72 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4246, allocations: 314.8 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.4247, allocations: 19.97 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.4248, allocations: 15.98 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.425, allocations: 40.77 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.425, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.4252, allocations: 77.61 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4252, allocations: 4 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4252, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4252, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4253, allocations: 12.23 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4253, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.4253, allocations: 8 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.4253, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 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 8.297e-05/0.4254, allocations: 117.9 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.4255, allocations: 7.938 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.4255, allocations: 7.25 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4255, allocations: 3.984 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4255, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4255, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.4256, allocations: 109.3 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4256, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.4257, allocations: 7.938 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4257, allocations: 7.938 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4257, allocations: 3.984 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4257, allocations: 0 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4257, allocations: 4 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.426, allocations: 155.5 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.426, allocations: 11.88 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.426, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.4261, allocations: 4 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4261, allocations: 8.016 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.4261, allocations: 7.938 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.4262, allocations: 83.28 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4262, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002134/0.4264, allocations: 4 kB / 1.287 GB, free: 7.98 MB / 0.9825 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.0001342/0.4265, allocations: 95.19 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.4267, allocations: 39.95 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4267, allocations: 64 / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.4268, allocations: 23.98 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4271, allocations: 4.078 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.4274, allocations: 105.6 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.4275, allocations: 63.34 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.4275, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.4275, allocations: 11.44 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4275, allocations: 8 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.00291/0.4305, allocations: 465.8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.773750377818942]