Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.001246/0.001246, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.21 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.534/2.534, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 68 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3255, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002133/0.3277, allocations: 0.8402 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3288, allocations: 0.8819 MB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.3288, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.3289, allocations: 11.86 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.329, allocations: 15.75 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3292, allocations: 43.94 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3293, allocations: 111.7 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3295, allocations: 29.05 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3296, allocations: 55.83 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.3297, allocations: 51.75 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3297, allocations: 12 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.3297, allocations: 8 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.3298, allocations: 27.91 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.3298, allocations: 55.66 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.33, allocations: 111.8 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.33, allocations: 4 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.33, allocations: 0 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.33, allocations: 0 / 1.02 GB, free: 8.367 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007183/0.3308, allocations: 446.8 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3308, allocations: 8.922 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.3309, allocations: 12.84 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.3314, allocations: 260 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3314, allocations: 4.375 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3314, allocations: 12.38 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3317, allocations: 116.8 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3317, allocations: 3.938 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3318, allocations: 3.938 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3318, allocations: 4 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.3321, allocations: 71.92 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.3327, allocations: 0.497 MB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.333, allocations: 113.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3331, allocations: 62.59 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3332, allocations: 3.984 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3332, allocations: 42.5 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3332, allocations: 7.938 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005998/0.3338, allocations: 157.4 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.3339, allocations: 111.1 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.334, allocations: 144.6 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3341, allocations: 33.69 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.3342, allocations: 104.3 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3342, allocations: 27.64 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.3343, allocations: 29.7 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3344, allocations: 322.8 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.3346, allocations: 47.91 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3348, allocations: 85.05 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.3351, allocations: 90.52 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3351, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003649/0.3354, allocations: 137.5 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3355, allocations: 8 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3355, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3355, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3356, allocations: 27.92 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3356, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.3358, allocations: 19.89 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3358, allocations: 7.984 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001017/0.3359, allocations: 122.3 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.336, allocations: 7.906 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.3363, allocations: 97.83 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3363, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3363, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3363, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.3366, allocations: 201.5 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3366, allocations: 4 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3367, allocations: 19.97 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3368, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3368, allocations: 4.375 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3368, allocations: 4.062 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3368, allocations: 4 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.3372, allocations: 373.8 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.3373, allocations: 96.94 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3374, allocations: 4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.3376, allocations: 11.98 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.3377, allocations: 23.95 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3377, allocations: 8 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.83e-05/0.3378, allocations: 117.6 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3378, allocations: 3.938 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003121/0.3381, allocations: 19.94 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001457/0.3382, allocations: 107.2 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.3386, allocations: 99.86 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3386, allocations: 0 / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3388, allocations: 51.95 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.3393, allocations: 14.66 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.3397, allocations: 237.3 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3401, allocations: 0.7002 MB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.3401, allocations: 19.44 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.3402, allocations: 0 / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of Templates: time 0.003187/0.3433, allocations: 1.501 MB / 1.027 GB, free: 1.094 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches