Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.002647/0.002648, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 65.44 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001998/0.3114, allocations: 0.7 MB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3124, allocations: 0.8079 MB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.3125, allocations: 0 / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.3125, allocations: 7.938 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.3126, allocations: 15.91 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.3127, allocations: 7.984 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3128, allocations: 43.86 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.313, allocations: 11.98 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.313, allocations: 19.92 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.3131, allocations: 15.92 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3131, allocations: 7.938 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3131, allocations: 8 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3132, allocations: 11.98 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3132, allocations: 15.92 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.3133, allocations: 39.81 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3133, allocations: 0 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3133, allocations: 4 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3133, allocations: 0 / 1.02 GB, free: 8.102 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.0004944/0.3138, allocations: 363.3 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3139, allocations: 16.92 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.3139, allocations: 0.9375 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.314, allocations: 172.2 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.314, allocations: 4.375 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3141, allocations: 4.375 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3143, allocations: 78.14 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3143, allocations: 192 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3143, allocations: 7.875 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3143, allocations: 4 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3146, allocations: 59.94 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3149, allocations: 261 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3151, allocations: 66.41 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3153, allocations: 36.92 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3153, allocations: 3.984 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3153, allocations: 34.56 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3153, allocations: 0 / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004959/0.3158, allocations: 133.5 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3159, allocations: 51.41 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/0.316, allocations: 105.8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.316, allocations: 25.7 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.316, allocations: 100 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3161, allocations: 7.812 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.3161, allocations: 21.72 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3162, allocations: 310.8 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3163, allocations: 31.95 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3165, allocations: 31.97 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3167, allocations: 76.72 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3167, allocations: 3.938 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002759/0.317, allocations: 93.91 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.317, allocations: 4 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.317, allocations: 3.984 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.317, allocations: 4 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3172, allocations: 19.97 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3172, allocations: 0 / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.3173, allocations: 15.97 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3173, allocations: 0 / 1.023 GB, free: 5.766 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 8.533e-05/0.3174, allocations: 114.4 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3174, allocations: 7.906 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.3177, allocations: 109.5 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3177, allocations: 3.984 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3177, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3177, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3179, allocations: 169.6 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3179, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.318, allocations: 19.92 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.318, allocations: 4 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.318, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.318, allocations: 3.984 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.318, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.3184, allocations: 195.4 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.3184, allocations: 92.95 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3185, allocations: 4 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.3186, allocations: 15.97 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.3186, allocations: 0 / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3186, allocations: 0 / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.3187, allocations: 91.27 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3187, allocations: 0 / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002112/0.3189, allocations: 4 kB / 1.023 GB, free: 4.844 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.0001365/0.319, allocations: 103.2 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.3193, allocations: 71.86 kB / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3193, allocations: 0 / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3195, allocations: 39.95 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3198, allocations: 15.88 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.3201, allocations: 122.1 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3203, allocations: 0.6768 MB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.3203, allocations: 7.984 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3204, allocations: 7.438 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of SimCode: time 2.625e-06/0.3204, allocations: 4 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of Templates: time 0.002499/0.3229, allocations: 0.6712 MB / 1.025 GB, free: 3.078 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches