Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.172/3.172, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 73.95 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002113/0.3855, allocations: 0.6712 MB / 1.305 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.3865, allocations: 0.7888 MB / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.3866, allocations: 0 / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.3866, allocations: 7.875 kB / 1.305 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3867, allocations: 12.05 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.911e-05/0.3868, allocations: 0 / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.3869, allocations: 19.98 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.387, allocations: 23.92 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.3871, allocations: 7.938 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.3871, allocations: 11.81 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3871, allocations: 4 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.3871, allocations: 4 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3871, allocations: 4 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.3872, allocations: 7.938 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.542e-05/0.3873, allocations: 32.09 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3873, allocations: 0 / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3873, allocations: 4 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3873, allocations: 4 kB / 1.306 GB, free: 15.88 MB / 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.0005352/0.3878, allocations: 335.5 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3879, allocations: 8.922 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.3879, allocations: 34.75 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.3879, allocations: 0.9375 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3881, allocations: 164.3 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3881, allocations: 4.375 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3881, allocations: 384 / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.3883, allocations: 58.17 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3883, allocations: 3.938 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3884, allocations: 0 / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3884, allocations: 0 / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3885, allocations: 35.95 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3889, allocations: 245 kB / 1.306 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3891, allocations: 50.42 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.3892, allocations: 20.91 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.3892, allocations: 7.938 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3892, allocations: 30.56 kB / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3892, allocations: 0 / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.3896, allocations: 81.64 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3896, allocations: 55.41 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.3897, allocations: 101.8 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3897, allocations: 25.7 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.3898, allocations: 84.14 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3898, allocations: 7.891 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3898, allocations: 17.84 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.39, allocations: 314.8 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.3901, allocations: 19.97 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.3901, allocations: 19.92 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3903, allocations: 36.83 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3903, allocations: 8 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002226/0.3905, allocations: 65.66 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3905, allocations: 7.938 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3905, allocations: 0 / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3905, allocations: 0 / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3906, allocations: 15.97 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3907, allocations: 0 / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3907, allocations: 7.953 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.3907, allocations: 8.031 kB / 1.307 GB, free: 13.8 MB / 1.014 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.0001085/0.3908, allocations: 121.7 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3908, allocations: 4.25 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.3909, allocations: 3.125 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3909, allocations: 0 / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3909, allocations: 4 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3909, allocations: 0 / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3911, allocations: 165.6 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3911, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.3911, allocations: 12 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3911, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3911, allocations: 3.938 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3911, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3911, allocations: 3.984 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3914, allocations: 159.5 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.3915, allocations: 93.08 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3915, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.3916, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.3916, allocations: 7.922 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3916, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.3917, allocations: 79.28 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3917, allocations: 0 / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002121/0.3919, allocations: 8 kB / 1.308 GB, free: 13.04 MB / 1.014 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.0006676/0.3925, allocations: 0.6968 MB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3928, allocations: 35.98 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3928, allocations: 8 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.3928, allocations: 15.98 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3932, allocations: 9.547 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3937, allocations: 135.1 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.394, allocations: 0.6768 MB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.394, allocations: 8.062 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.394, allocations: 7.438 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.394, allocations: 3.938 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.4189, allocations: 1.307 MB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.383, allocations: 7.391 kB / 1.311 GB, free: 10.16 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.085863680113107]