Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.89 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.214, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002104/1.216, allocations: 0.8482 MB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001164/1.217, allocations: 0.8844 MB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/1.217, allocations: 3.906 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/1.217, allocations: 13.88 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/1.217, allocations: 15.3 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/1.218, allocations: 42.75 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/1.218, allocations: 116.5 kB / 1.265 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/1.218, allocations: 23 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/1.218, allocations: 62.83 kB / 1.265 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/1.218, allocations: 52.17 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/1.218, allocations: 9.469 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/1.218, allocations: 9.656 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/1.218, allocations: 29.02 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/1.218, allocations: 52.81 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/1.219, allocations: 113.4 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.219, allocations: 0 / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.219, allocations: 4.656 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.219, allocations: 0 / 1.265 GB, free: 6.535 MB / 0.9981 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.0007395/1.219, allocations: 443.3 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.219, allocations: 9.312 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/1.22, allocations: 19.62 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/1.22, allocations: 256.4 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.22, allocations: 4.75 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/1.22, allocations: 10 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/1.22, allocations: 116.1 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.22, allocations: 3.938 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.22, allocations: 1.531 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.22, allocations: 5.609 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/1.221, allocations: 77.19 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/1.221, allocations: 0.4993 MB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/1.222, allocations: 116.7 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.222, allocations: 54.14 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.222, allocations: 1.594 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.222, allocations: 37.45 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.222, allocations: 0 / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0006256/1.223, allocations: 161.5 kB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.223, allocations: 104.6 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.223, allocations: 153.5 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/1.223, allocations: 32.86 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/1.223, allocations: 105.4 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/1.223, allocations: 20.95 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/1.223, allocations: 28.84 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/1.223, allocations: 326.1 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.223, allocations: 40.44 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/1.223, allocations: 83.69 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/1.224, allocations: 98.25 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.224, allocations: 4.562 kB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003882/1.224, allocations: 140.5 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.224, allocations: 5.312 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.224, allocations: 1.344 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.224, allocations: 1.844 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.224, allocations: 22.88 kB / 1.268 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/1.224, allocations: 6.125 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.224, allocations: 22.45 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.224, allocations: 4.109 kB / 1.268 GB, free: 4.145 MB / 0.9981 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 7.923e-05/1.225, allocations: 123.7 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/1.225, allocations: 13.44 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/1.225, allocations: 101 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.225, allocations: 1.469 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.225, allocations: 1.562 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.225, allocations: 1.688 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.225, allocations: 198.7 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.225, allocations: 0.5938 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.225, allocations: 18.62 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.225, allocations: 0.8438 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.225, allocations: 7.422 kB / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.225, allocations: 1 kB / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.225, allocations: 5.031 kB / 1.268 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/1.226, allocations: 380.9 kB / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/1.226, allocations: 94.41 kB / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/1.226, allocations: 6.312 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.226, allocations: 13.5 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/1.226, allocations: 22.62 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/1.226, allocations: 4.281 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.148e-05/1.226, allocations: 119 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 0 / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003134/1.227, allocations: 13.88 kB / 1.269 GB, free: 3.215 MB / 0.9981 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.000152/1.227, allocations: 109.1 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004113/1.227, allocations: 97.72 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.227, allocations: 0 / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/1.227, allocations: 51.98 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/1.228, allocations: 19.95 kB / 1.269 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/1.228, allocations: 238.4 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/1.228, allocations: 0.6983 MB / 1.27 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/1.228, allocations: 22.75 kB / 1.27 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.228, allocations: 7.938 kB / 1.27 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of Templates: time 0.003929/1.232, allocations: 1.504 MB / 1.271 GB, free: 2.023 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.590350795071572]