Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005838/0.005838, allocations: 100.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 191.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 79.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3205, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002138/0.3227, allocations: 0.7008 MB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3238, allocations: 0.8121 MB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.3239, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.3239, allocations: 3.938 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.324, allocations: 11.88 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.3242, allocations: 11.98 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3243, allocations: 39.91 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3244, allocations: 11.98 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.3245, allocations: 27.92 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.3246, allocations: 15.92 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3246, allocations: 4 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.3246, allocations: 4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.3246, allocations: 11.92 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3247, allocations: 11.94 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3248, allocations: 51.84 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3248, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3248, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.3248, allocations: 4 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005539/0.3254, allocations: 354.3 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3254, allocations: 12.03 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.3255, allocations: 34.69 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3255, allocations: 12.78 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3257, allocations: 177.1 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3257, allocations: 384 / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3257, allocations: 4.375 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.326, allocations: 70.22 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.326, allocations: 3.938 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.326, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.326, allocations: 4 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.3263, allocations: 59.92 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.3267, allocations: 276.8 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3269, allocations: 50.53 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.3271, allocations: 36.92 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.3271, allocations: 0 / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3271, allocations: 42.56 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3271, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005445/0.3277, allocations: 129.5 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3277, allocations: 51.41 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.3278, allocations: 105.8 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3279, allocations: 29.7 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.3279, allocations: 95.98 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.328, allocations: 3.906 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.328, allocations: 21.7 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3281, allocations: 310.8 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3283, allocations: 31.97 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3284, allocations: 35.95 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.3287, allocations: 76.66 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3287, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000291/0.329, allocations: 97.62 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.329, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.329, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.329, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3292, allocations: 15.98 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3292, allocations: 0 / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.3293, allocations: 19.97 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3293, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.819e-05/0.3294, allocations: 121.7 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3294, allocations: 8.172 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.3298, allocations: 113.4 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3298, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3298, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3298, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.33, allocations: 177.6 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.33, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.3301, allocations: 15.98 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3301, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3301, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3301, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3301, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.3305, allocations: 207.2 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.3305, allocations: 81.11 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3306, allocations: 0 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3307, allocations: 11.98 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3307, allocations: 3.984 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3307, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.3308, allocations: 95.56 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3308, allocations: 4 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002165/0.331, allocations: 8 kB / 1.171 GB, free: 2.195 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.0007339/0.3318, allocations: 0.728 MB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.3321, allocations: 67.86 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3321, allocations: 3.938 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3323, allocations: 43.95 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3326, allocations: 10.03 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.3331, allocations: 159 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3334, allocations: 0.6807 MB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.3334, allocations: 0 / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.3335, allocations: 15.44 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.3335, allocations: 0 / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.3524, allocations: 1.62 MB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.023, allocations: 0.7031 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches