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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002573/0.002573, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.685e-06/2.685e-06, allocations: 0 / 0.8777 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.715e-05/4.983e-05, allocations: 7.016 kB / 0.8777 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002504/0.002554, allocations: 0.8245 MB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.003982, allocations: 0.9198 MB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.004045, allocations: 4 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.004087, allocations: 11.86 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.00419, allocations: 20.8 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.004434, allocations: 41.06 kB / 0.8794 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.004622, allocations: 119.6 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.00474, allocations: 21.28 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.004976, allocations: 72.83 kB / 0.8797 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.005068, allocations: 43.86 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.005097, allocations: 12.62 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.005149, allocations: 16 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.00518, allocations: 27.59 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.00523, allocations: 27.92 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.005452, allocations: 135.5 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005454, allocations: 0 / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005455, allocations: 0 / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.005458, allocations: 0 / 0.8799 GB, free: 4.125 MB / 0.8386 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.000874/0.006332, allocations: 374.3 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.00637, allocations: 8.031 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.006665, allocations: 38.08 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.0072, allocations: 200.2 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.007226, allocations: 8.375 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.007246, allocations: 8.312 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.007546, allocations: 117.6 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.007555, allocations: 4.188 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.007569, allocations: 1.281 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.007576, allocations: 4.125 kB / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.007902, allocations: 83.86 kB / 0.8807 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.008562, allocations: 432.8 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.008859, allocations: 111.8 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.009034, allocations: 58.55 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.009063, allocations: 4 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.009102, allocations: 34.56 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.009103, allocations: 0 / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0006723/0.009775, allocations: 165.6 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.009864, allocations: 110.8 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.01003, allocations: 149.4 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.01006, allocations: 33.7 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.01016, allocations: 108.2 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.0102, allocations: 19.86 kB / 0.8819 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.01026, allocations: 29.7 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.01045, allocations: 322.8 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.01062, allocations: 39.97 kB / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.01088, allocations: 162.2 kB / 0.8824 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.01119, allocations: 94.45 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01119, allocations: 0 / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004069/0.01159, allocations: 145.4 kB / 0.8826 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01161, allocations: 8 kB / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.01162, allocations: 4 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.01164, allocations: 0 / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01179, allocations: 15.98 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.0118, allocations: 7.938 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.01194, allocations: 27.86 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01196, allocations: 4 kB / 0.8827 GB, free: 0.9844 MB / 0.8386 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.0001238/0.01208, allocations: 117.8 kB / 0.8828 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.01216, allocations: 19.89 kB / 0.8828 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.01245, allocations: 85.98 kB / 0.8829 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01245, allocations: 384 / 0.8829 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.01246, allocations: 4 kB / 0.8829 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01246, allocations: 3.938 kB / 0.8829 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.01276, allocations: 133.2 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.01276, allocations: 3.984 kB / 0.8831 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.01288, allocations: 27.98 kB / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.01289, allocations: 7.922 kB / 0.8831 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.0129, allocations: 3.938 kB / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0129, allocations: 4 kB / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.0129, allocations: 0 / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.01342, allocations: 374 kB / 0.8835 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.01344, allocations: 11.89 kB / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.01347, allocations: 4 kB / 0.8835 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.0137, allocations: 19.98 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.01378, allocations: 23.95 kB / 0.8835 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01379, allocations: 3.984 kB / 0.8835 GB, free: 84 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001247/0.01392, allocations: 113.1 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01392, allocations: 0 / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003427/0.01426, allocations: 27.89 kB / 0.8837 GB, free: 15.95 MB / 0.8542 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.0001483/0.01441, allocations: 99.31 kB / 0.8837 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.01481, allocations: 95.86 kB / 0.8838 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.01481, allocations: 4 kB / 0.8838 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.01499, allocations: 47.91 kB / 0.8839 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.01548, allocations: 19.92 kB / 0.8839 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.01602, allocations: 211 kB / 0.8841 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.01614, allocations: 88.12 kB / 0.8842 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.577e-05/0.01623, allocations: 16.64 kB / 0.8842 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.0163, allocations: 24.48 kB / 0.8842 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.0163, allocations: 0 / 0.8842 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.004939/0.02124, allocations: 1.427 MB / 0.8856 GB, free: 13.88 MB / 0.8542 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.317697513964958]