Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001711/0.001711, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001952/0.001952, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.837/2.837, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="cs",version="2.0",platforms={"static"}) [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.002032/0.002032, allocations: 66.06 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00205/0.3201, allocations: 0.6513 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3212, allocations: 0.8434 MB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.3212, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.3213, allocations: 3.938 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.3213, allocations: 11.91 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.3215, allocations: 8 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.3216, allocations: 23.92 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.3217, allocations: 4 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.3218, allocations: 15.92 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.3218, allocations: 4 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3218, allocations: 4 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.3219, allocations: 15.98 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3219, allocations: 11.92 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.3219, allocations: 4 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.322, allocations: 28.83 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.322, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/0.322, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.322, allocations: 0 / 1.286 GB, free: 9 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.0004409/0.3225, allocations: 262.3 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.3225, allocations: 12.03 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.591e-05/0.3225, allocations: 192 / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.3226, allocations: 42.73 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.3227, allocations: 0.9375 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.3228, allocations: 110.5 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3228, allocations: 4.312 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.3228, allocations: 4.375 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.323, allocations: 49.98 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.323, allocations: 4 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.323, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.323, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.3232, allocations: 35.95 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.3235, allocations: 223.9 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3236, allocations: 42.48 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.3237, allocations: 20.91 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3238, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3238, allocations: 34.56 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3238, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004305/0.3242, allocations: 81.64 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3243, allocations: 59.34 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.3244, allocations: 97.86 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3244, allocations: 25.7 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3244, allocations: 84.12 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.3244, allocations: 11.89 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3245, allocations: 17.66 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3246, allocations: 314.8 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.3247, allocations: 16.11 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.3248, allocations: 19.97 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3249, allocations: 40.77 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3249, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.3251, allocations: 73.66 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3251, allocations: 4 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3251, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3252, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.3253, allocations: 11.98 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3253, allocations: 0 / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3253, allocations: 4 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3253, allocations: 0 / 1.287 GB, free: 7.129 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 9.328e-05/0.3254, allocations: 122.6 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3254, allocations: 3.953 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.3257, allocations: 69 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3257, allocations: 4 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3258, allocations: 132.7 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3258, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.3259, allocations: 15.92 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3259, allocations: 11.97 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3259, allocations: 4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.3262, allocations: 159.5 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.3262, allocations: 4.188 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3262, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.3263, allocations: 11.97 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.3264, allocations: 4 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3264, allocations: 4.031 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.3264, allocations: 79.28 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000222/0.3266, allocations: 4 kB / 1.288 GB, free: 6.441 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.0005997/0.3272, allocations: 0.6967 MB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3275, allocations: 36 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3275, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.3276, allocations: 23.92 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3279, allocations: 11.92 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.3284, allocations: 130.5 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.3284, allocations: 59.36 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3285, allocations: 3.984 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3285, allocations: 15.56 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3285, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.3498, allocations: 1.449 MB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.92, allocations: 4.562 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 18.85305022203829]