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.001436/0.001436, allocations: 73.97 kB / 20.66 MB, free: 3.848 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.001504/0.001504, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.083/1.083, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.264/2.264, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 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.124e-06/2.124e-06, allocations: 0 / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.215e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002177/0.002199, allocations: 0.8553 MB / 0.8803 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003686, allocations: 0.9389 MB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.00376, allocations: 4 kB / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.003806, allocations: 7.875 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.003944, allocations: 24.64 kB / 0.8813 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.004233, allocations: 47.88 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.004411, allocations: 112.8 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.004543, allocations: 25.3 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.004847, allocations: 96.81 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.004945, allocations: 23.92 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.004975, allocations: 4 kB / 0.8816 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.005029, allocations: 13 kB / 0.8816 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.005059, allocations: 23.91 kB / 0.8816 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.005095, allocations: 24.88 kB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.005258, allocations: 63.75 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00526, allocations: 4 kB / 0.8817 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005261, allocations: 0.5 kB / 0.8817 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.005265, allocations: 1.875 kB / 0.8817 GB, free: 3.719 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.0005299/0.005795, allocations: 440 kB / 0.8821 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.005839, allocations: 8.031 kB / 0.8821 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.006047, allocations: 20.84 kB / 0.8821 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.006267, allocations: 175.2 kB / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.006286, allocations: 384 / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.006303, allocations: 12.38 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.006493, allocations: 99.06 kB / 0.8824 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006503, allocations: 192 / 0.8824 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006515, allocations: 4.375 kB / 0.8824 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.006523, allocations: 1.031 kB / 0.8824 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.006584, allocations: 27.86 kB / 0.8824 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.007091, allocations: 0.5349 MB / 0.883 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.007241, allocations: 103.7 kB / 0.8831 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.00729, allocations: 39.16 kB / 0.8831 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.007311, allocations: 4 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.007339, allocations: 37.33 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.007341, allocations: 3.938 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002749/0.007616, allocations: 87.62 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.007676, allocations: 102.8 kB / 0.8833 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.007813, allocations: 200.1 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.007841, allocations: 33.7 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.007926, allocations: 159.5 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.007966, allocations: 23.78 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.00802, allocations: 33.02 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.008184, allocations: 0.4884 MB / 0.8842 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.008219, allocations: 11.98 kB / 0.8842 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.008277, allocations: 46.97 kB / 0.8843 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.008357, allocations: 56.41 kB / 0.8843 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00836, allocations: 0 / 0.8843 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001614/0.008521, allocations: 89.78 kB / 0.8844 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.008539, allocations: 7.938 kB / 0.8844 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.008547, allocations: 3.984 kB / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.00856, allocations: 7.938 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.008648, allocations: 11.94 kB / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.008652, allocations: 0 / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.008709, allocations: 4 kB / 0.8844 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.008721, allocations: 3.984 kB / 0.8845 GB, free: 0.5977 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.0001109/0.008832, allocations: 160.6 kB / 0.8846 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.008904, allocations: 19.89 kB / 0.8846 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.009033, allocations: 65.95 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.009036, allocations: 4 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.009041, allocations: 4.062 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.009046, allocations: 0 / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.009299, allocations: 129.1 kB / 0.8848 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.009301, allocations: 0 / 0.8848 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.009359, allocations: 11.98 kB / 0.8848 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009362, allocations: 0 / 0.8848 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.009375, allocations: 4 kB / 0.8848 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.009379, allocations: 3.938 kB / 0.8848 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.009381, allocations: 4 kB / 0.8848 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.009724, allocations: 462.2 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.009739, allocations: 11.91 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.009758, allocations: 4 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.009854, allocations: 15.92 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.009912, allocations: 19.95 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.009917, allocations: 4 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.009981, allocations: 153.6 kB / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.1e-07/0.009981, allocations: 0 / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002049/0.01019, allocations: 16 kB / 0.8855 GB, free: 15.46 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.0001029/0.01029, allocations: 103.2 kB / 0.8856 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.0104, allocations: 43.59 kB / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0104, allocations: 0 / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.01044, allocations: 35.66 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.01073, allocations: 12 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.01103, allocations: 218.5 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.01108, allocations: 63.34 kB / 0.886 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.957e-05/0.01113, allocations: 20.62 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.0112, allocations: 90.12 kB / 0.8861 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.0112, allocations: 0 / 0.8861 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.003127/0.01433, allocations: 1.295 MB / 0.8873 GB, free: 13.52 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: 6.005897616967559]