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.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.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.001324/0.001324, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.001294/0.001295, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.362/1.362, 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.455/2.455, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.44 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3088, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002063/0.3109, allocations: 0.844 MB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.3119, allocations: 0.8857 MB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.3119, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.312, allocations: 15.81 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3121, allocations: 23.73 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.3123, allocations: 35.94 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3124, allocations: 119.6 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3126, allocations: 17.12 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3127, allocations: 55.83 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.3128, allocations: 59.69 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.3129, allocations: 8 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.3129, allocations: 8 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.3129, allocations: 27.91 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.313, allocations: 51.72 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3132, allocations: 119.5 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3132, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3132, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3132, allocations: 4 kB / 1.021 GB, free: 7.523 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.0006948/0.3139, allocations: 442.8 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3139, allocations: 12.92 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.314, allocations: 8.844 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.3145, allocations: 264 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3145, allocations: 4.375 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3145, allocations: 8.375 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.3148, allocations: 116.7 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3148, allocations: 11.94 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3148, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3148, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.3151, allocations: 79.86 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.3157, allocations: 0.4893 MB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.316, allocations: 117.3 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3162, allocations: 58.61 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3162, allocations: 3.938 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3162, allocations: 34.56 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3163, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000568/0.3168, allocations: 161.6 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3169, allocations: 106.8 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.317, allocations: 152.5 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3171, allocations: 33.7 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3171, allocations: 104.5 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3172, allocations: 27.66 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3172, allocations: 29.7 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3173, allocations: 326.8 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3175, allocations: 39.97 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3177, allocations: 89.09 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3179, allocations: 90.48 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3179, allocations: 3.938 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003831/0.3183, allocations: 149.5 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3183, allocations: 4 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3183, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3184, allocations: 7.938 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3185, allocations: 15.98 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3185, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3186, allocations: 27.88 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3187, allocations: 8 kB / 1.024 GB, free: 4.242 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 9.302e-05/0.3188, allocations: 122.2 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3188, allocations: 7.906 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3191, allocations: 89.89 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3191, allocations: 4 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3191, allocations: 0 / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3191, allocations: 0 / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.3195, allocations: 213.5 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3195, allocations: 0 / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3196, allocations: 15.98 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3196, allocations: 7.938 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3196, allocations: 0 / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3196, allocations: 7.969 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3196, allocations: 4 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.32, allocations: 365.9 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.3201, allocations: 88.95 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3201, allocations: 4 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3203, allocations: 19.97 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3204, allocations: 23.97 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3204, allocations: 7.938 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.094e-05/0.3205, allocations: 115.2 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3205, allocations: 0 / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003077/0.3208, allocations: 16 kB / 1.025 GB, free: 3.051 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.0001527/0.321, allocations: 107.2 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.3214, allocations: 100.1 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3214, allocations: 0 / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3215, allocations: 55.98 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.322, allocations: 10.41 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.3225, allocations: 212.4 kB / 1.025 GB, free: 2.531 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3227, allocations: 0.7002 MB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.296e-05/0.3228, allocations: 16.64 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.3229, allocations: 23.38 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3229, allocations: 3.938 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of Templates: time 0.004279/0.3272, allocations: 1.355 MB / 1.028 GB, free: 424 kB / 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=480 -s gbode -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