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.001302/0.001302, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00146/0.00146, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.893/2.893, allocations: 476.7 MB / 0.7715 GB, free: 4.293 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: "" <> 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.00206/0.00206, allocations: 61.94 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00193/0.3123, allocations: 0.6732 MB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3134, allocations: 0.8472 MB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.3134, allocations: 3.938 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.3134, allocations: 4 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.3135, allocations: 7.922 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.3136, allocations: 7.984 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.3137, allocations: 31.88 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.3138, allocations: 3.984 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.3138, allocations: 8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.3139, allocations: 11.92 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3139, allocations: 0 / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.3139, allocations: 8 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.3139, allocations: 4 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.314, allocations: 11.92 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3141, allocations: 35.41 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3141, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3141, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3141, allocations: 4 kB / 1.286 GB, free: 10.07 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.0004124/0.3145, allocations: 258.3 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3145, allocations: 12.03 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.052e-05/0.3146, allocations: 4.188 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.3146, allocations: 30.75 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.3147, allocations: 4.938 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3148, allocations: 106.5 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3148, allocations: 4.375 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.3148, allocations: 4.375 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.315, allocations: 53.98 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.315, allocations: 0 / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.315, allocations: 3.984 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.315, allocations: 0 / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3152, allocations: 35.95 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3156, allocations: 227.9 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3157, allocations: 38.5 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.3158, allocations: 24.89 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3158, allocations: 0 / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3159, allocations: 30.56 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3159, allocations: 8 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.3162, allocations: 81.58 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3163, allocations: 51.41 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.3164, allocations: 97.86 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3164, allocations: 29.7 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.3164, allocations: 84.12 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3165, allocations: 12.02 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3165, allocations: 13.72 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3166, allocations: 314.8 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.3167, allocations: 11.98 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.3168, allocations: 23.97 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.317, allocations: 40.83 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.317, allocations: 7.938 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.3172, allocations: 65.59 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3172, allocations: 8 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3172, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3172, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.3173, allocations: 11.98 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3173, allocations: 4.031 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3174, allocations: 4 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3174, allocations: 4 kB / 1.287 GB, free: 8.199 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.004e-05/0.3175, allocations: 117.8 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3175, allocations: 3.953 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3177, allocations: 68.97 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3178, allocations: 4.031 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3178, allocations: 3.938 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3178, allocations: 0 / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3179, allocations: 132.7 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3179, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.318, allocations: 15.98 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.318, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.318, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.318, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.318, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3183, allocations: 163.5 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.3183, allocations: 4 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3183, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.3184, allocations: 11.98 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.3184, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3184, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.3185, allocations: 87.3 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002233/0.3187, allocations: 7.938 kB / 1.288 GB, free: 7.52 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.0005752/0.3193, allocations: 0.6929 MB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.3195, allocations: 39.95 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.3196, allocations: 27.86 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.3199, allocations: 2.5 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.3203, allocations: 139.3 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3206, allocations: 0.6771 MB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.3206, allocations: 0 / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.3207, allocations: 7.438 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3207, allocations: 4 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.3416, allocations: 1.403 MB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.74, allocations: 19.61 kB / 1.291 GB, free: 4.57 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.679143503017258]