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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001344/0.001344, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.624/2.624, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 76.67 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00201/0.3263, allocations: 0.7042 MB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.3273, allocations: 0.8079 MB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.3273, allocations: 0 / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.3273, allocations: 3.938 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.3274, allocations: 3.938 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.596e-05/0.3275, allocations: 15.98 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/0.3276, allocations: 43.8 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3277, allocations: 15.98 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.756e-05/0.3278, allocations: 19.98 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.3278, allocations: 23.84 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3279, allocations: 4 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.3279, allocations: 4 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.3279, allocations: 8 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.328, allocations: 15.86 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.386e-05/0.3281, allocations: 43.88 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3281, allocations: 0 / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3281, allocations: 0 / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3281, allocations: 4 kB / 1.02 GB, free: 8.895 MB / 0.795 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.0005571/0.3286, allocations: 363.6 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3287, allocations: 16.86 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3287, allocations: 0.9375 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3289, allocations: 172.2 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3289, allocations: 4.312 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3289, allocations: 8.375 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3292, allocations: 66.22 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3292, allocations: 4.172 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3292, allocations: 3.938 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3292, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3295, allocations: 59.94 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.3299, allocations: 273 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3301, allocations: 62.41 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3303, allocations: 36.92 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3303, allocations: 0 / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3304, allocations: 38.55 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 2.615e-06/0.3304, allocations: 3.984 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005592/0.3309, allocations: 133.4 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.331, allocations: 51.41 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.3311, allocations: 113.8 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3311, allocations: 25.7 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3312, allocations: 92.12 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.3312, allocations: 7.812 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3312, allocations: 13.72 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3314, allocations: 314.8 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3315, allocations: 31.95 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3317, allocations: 35.97 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.332, allocations: 68.78 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.332, allocations: 7.875 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003353/0.3323, allocations: 101.6 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3323, allocations: 4 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3324, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3324, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3325, allocations: 19.97 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3325, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.3326, allocations: 11.98 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3326, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 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 9.508e-05/0.3327, allocations: 117.8 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3327, allocations: 7.906 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.3331, allocations: 105.5 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3332, allocations: 3.938 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3332, allocations: 3.984 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3332, allocations: 4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3334, allocations: 169.5 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3334, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3335, allocations: 19.98 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3335, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-06/0.3335, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3335, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3335, allocations: 3.984 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3339, allocations: 191.4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.334, allocations: 88.95 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.334, allocations: 0 / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3341, allocations: 11.98 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3341, allocations: 8.406 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3341, allocations: 0 / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.3342, allocations: 99.52 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3342, allocations: 0 / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002156/0.3344, allocations: 4 kB / 1.023 GB, free: 5.637 MB / 0.795 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.0001554/0.3346, allocations: 99.25 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.335, allocations: 71.91 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.335, allocations: 4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3352, allocations: 35.95 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3355, allocations: 15.88 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.336, allocations: 155.2 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3364, allocations: 0.6846 MB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.3364, allocations: 7.438 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3364, allocations: 0 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of Templates: time 0.00297/0.3394, allocations: 0.7529 MB / 1.024 GB, free: 3.758 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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