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.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.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.001099/0.001099, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001086/0.001086, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 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.444/2.444, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 73.05 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3102, allocations: 151.7 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002079/0.3124, allocations: 0.6946 MB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008953/0.3133, allocations: 0.8118 MB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.3133, allocations: 3.938 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3134, allocations: 11.94 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.3135, allocations: 3.938 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.695e-05/0.3136, allocations: 7.984 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.3137, allocations: 39.92 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3138, allocations: 11.98 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.3139, allocations: 27.84 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.3139, allocations: 23.86 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3139, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.314, allocations: 8 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.314, allocations: 11.98 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.314, allocations: 19.88 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.3141, allocations: 35.88 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3141, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3142, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3142, allocations: 0 / 1.02 GB, free: 8.168 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.0005152/0.3147, allocations: 367.3 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3147, allocations: 12.92 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3148, allocations: 4.938 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3149, allocations: 172.2 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3149, allocations: 4.375 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.3149, allocations: 4.375 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.3152, allocations: 70.14 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3152, allocations: 192 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3152, allocations: 7.938 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3152, allocations: 4 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.3155, allocations: 67.92 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.3158, allocations: 261 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.316, allocations: 58.48 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3162, allocations: 48.78 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3162, allocations: 0 / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3162, allocations: 34.56 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3162, allocations: 0 / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004926/0.3167, allocations: 133.5 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3168, allocations: 55.39 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.3169, allocations: 101.9 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3169, allocations: 25.7 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.3169, allocations: 92.12 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.317, allocations: 7.812 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.317, allocations: 17.72 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3171, allocations: 322.8 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3172, allocations: 31.97 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3174, allocations: 31.95 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3176, allocations: 69.08 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3176, allocations: 3.938 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002963/0.3179, allocations: 101.6 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.318, allocations: 4 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.318, allocations: 0 / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.318, allocations: 0 / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3181, allocations: 23.92 kB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3181, allocations: 3.938 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.3182, allocations: 11.98 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3182, allocations: 0 / 1.023 GB, free: 5.832 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 7.968e-05/0.3183, allocations: 117.8 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3183, allocations: 7.891 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.3187, allocations: 109.5 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3187, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3187, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3187, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3189, allocations: 169.6 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3189, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.319, allocations: 19.97 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.319, allocations: 4 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.319, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.319, allocations: 3.938 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.319, allocations: 3.938 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3193, allocations: 191.4 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.3194, allocations: 88.95 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3194, allocations: 7.984 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.3195, allocations: 11.98 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3196, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.3196, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.3196, allocations: 95.56 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3196, allocations: 0 / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002175/0.3199, allocations: 8 kB / 1.023 GB, free: 4.902 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.0001275/0.32, allocations: 99.25 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.3203, allocations: 71.86 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3203, allocations: 0 / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3205, allocations: 39.95 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3208, allocations: 11.94 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.3211, allocations: 121.6 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3214, allocations: 0.6846 MB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.3214, allocations: 0 / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3215, allocations: 11.44 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of SimCode: time 3.6e-07/0.3215, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of Templates: time 0.002849/0.3243, allocations: 0.675 MB / 1.025 GB, free: 3.141 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=480 -s gbode -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