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.001386/0.001386, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001442/0.001442, allocations: 173 kB / 23.28 MB, free: 1.219 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 0.912/0.912, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 2.35/2.35, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] 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.675e-06/2.675e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.729e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002535/0.002572, allocations: 0.8466 MB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003906, allocations: 0.9287 MB / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.003971, allocations: 4 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.004009, allocations: 7.875 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.004119, allocations: 27.67 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.004374, allocations: 43.88 kB / 0.8916 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004523, allocations: 115.6 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004638, allocations: 17.3 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.004898, allocations: 87.73 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.004983, allocations: 31.89 kB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.005006, allocations: 12 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.005059, allocations: 12 kB / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.005082, allocations: 15.91 kB / 0.8919 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.005115, allocations: 31.92 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.005263, allocations: 75.55 kB / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005265, allocations: 0 / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005266, allocations: 0 / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.00527, allocations: 0 / 0.892 GB, free: 7.379 MB / 0.8542 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.000475/0.005745, allocations: 436 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.005792, allocations: 12.61 kB / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.005973, allocations: 28.84 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006151, allocations: 152.4 kB / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.006172, allocations: 8.375 kB / 0.8926 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.006186, allocations: 8.375 kB / 0.8926 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.006366, allocations: 107.8 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006374, allocations: 192 / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006386, allocations: 4.375 kB / 0.8927 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.006393, allocations: 4.375 kB / 0.8927 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.006449, allocations: 27.84 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.006903, allocations: 0.5333 MB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.007029, allocations: 109.2 kB / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.007065, allocations: 31.12 kB / 0.8934 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.00709, allocations: 7.969 kB / 0.8934 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.007118, allocations: 45.33 kB / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.007119, allocations: 0 / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.000224/0.007343, allocations: 85.5 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.007399, allocations: 110.8 kB / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007523, allocations: 204.3 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.007543, allocations: 25.7 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.007614, allocations: 158.8 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.00765, allocations: 31.77 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.007697, allocations: 23.38 kB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.007848, allocations: 0.4962 MB / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.007885, allocations: 11.98 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.007933, allocations: 43.3 kB / 0.8946 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.008006, allocations: 50.98 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008008, allocations: 0 / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001391/0.008148, allocations: 85.52 kB / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.008163, allocations: 11.94 kB / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.008169, allocations: 0 / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.008181, allocations: 0 / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.008263, allocations: 15.92 kB / 0.8948 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008268, allocations: 4 kB / 0.8948 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.008318, allocations: 8 kB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008326, allocations: 4 kB / 0.8948 GB, free: 4.242 MB / 0.8542 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.368e-05/0.00842, allocations: 164.6 kB / 0.895 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.008488, allocations: 19.84 kB / 0.895 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.008607, allocations: 57.97 kB / 0.895 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00861, allocations: 0 / 0.895 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.008614, allocations: 7.984 kB / 0.895 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008618, allocations: 0 / 0.895 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.00887, allocations: 125.2 kB / 0.8952 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.008874, allocations: 4 kB / 0.8952 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.008926, allocations: 20.05 kB / 0.8952 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.008929, allocations: 0 / 0.8952 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.008937, allocations: 4.266 kB / 0.8952 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.008942, allocations: 7.938 kB / 0.8952 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.008944, allocations: 0 / 0.8952 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.009203, allocations: 458.2 kB / 0.8956 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.009221, allocations: 19.89 kB / 0.8956 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.009243, allocations: 4 kB / 0.8957 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.009387, allocations: 3.938 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.009457, allocations: 35.94 kB / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.009464, allocations: 4 kB / 0.8957 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.009539, allocations: 148.8 kB / 0.8958 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009539, allocations: 0 / 0.8958 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003499/0.009889, allocations: 16 kB / 0.8959 GB, free: 3.09 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.0001184/0.01001, allocations: 95.25 kB / 0.8959 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01013, allocations: 51.59 kB / 0.896 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.01014, allocations: 0 / 0.896 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.01019, allocations: 35.61 kB / 0.896 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.01063, allocations: 8 kB / 0.896 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.01099, allocations: 222 kB / 0.8962 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.539e-05/0.01104, allocations: 63.34 kB / 0.8963 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.262e-05/0.01112, allocations: 16.77 kB / 0.8963 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.0112, allocations: 82.2 kB / 0.8964 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.0112, allocations: 4 kB / 0.8964 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of Templates: time 0.003858/0.01506, allocations: 1.262 MB / 0.8976 GB, free: 1.191 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.136395822279155]