Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001408/0.001408, allocations: 92.22 kB / 19.65 MB, free: 280 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.001006/0.001006, allocations: 173 kB / 23.02 MB, free: 1.551 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.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.167/2.167, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.817e-06/3.817e-06, allocations: 0.6562 kB / 0.8783 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.781e-05/4.163e-05, allocations: 4.844 kB / 0.8783 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003484/0.003526, allocations: 1.054 MB / 0.8793 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005483, allocations: 1.058 MB / 0.8803 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.005723, allocations: 4 kB / 0.8803 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.005931, allocations: 20.33 kB / 0.8803 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.006019, allocations: 21.41 kB / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.006471, allocations: 75.78 kB / 0.8804 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.006686, allocations: 180.1 kB / 0.8806 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.006865, allocations: 53.02 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.007019, allocations: 109.1 kB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.007126, allocations: 55.8 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.007155, allocations: 16 kB / 0.8808 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.00721, allocations: 20.88 kB / 0.8808 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.007246, allocations: 39.89 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.007296, allocations: 51.83 kB / 0.8809 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.007524, allocations: 136.7 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.007528, allocations: 0 / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/0.00753, allocations: 0 / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.007536, allocations: 0 / 0.8811 GB, free: 3.215 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006205/0.008156, allocations: 0.5049 MB / 0.8816 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.008198, allocations: 9.344 kB / 0.8816 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.008339, allocations: 40.73 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.008598, allocations: 168.9 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.008626, allocations: 11.62 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.008667, allocations: 16.38 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.00895, allocations: 158.1 kB / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008959, allocations: 192 / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.008979, allocations: 8.125 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.008989, allocations: 4 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.009103, allocations: 60.41 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.009894, allocations: 475.2 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.01019, allocations: 99.17 kB / 0.8826 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.01027, allocations: 51.7 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.0103, allocations: 8 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.01046, allocations: 127.3 kB / 0.8827 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.01046, allocations: 0 / 0.8827 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003129/0.01077, allocations: 155 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.0108, allocations: 59.34 kB / 0.8829 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.01093, allocations: 203.3 kB / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.01095, allocations: 33.7 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.01103, allocations: 163.2 kB / 0.8833 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.01108, allocations: 67.42 kB / 0.8834 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.01114, allocations: 51.34 kB / 0.8834 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.01128, allocations: 0.4962 MB / 0.8839 GB, free: 76 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.01138, allocations: 31.92 kB / 0.884 GB, free: 44 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01149, allocations: 62.25 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.01163, allocations: 96.42 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01164, allocations: 0 / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002428/0.01188, allocations: 158.8 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.0119, allocations: 4 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.0119, allocations: 4 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01192, allocations: 0 / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01207, allocations: 43.92 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01207, allocations: 0 / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.01215, allocations: 19.88 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01216, allocations: 12.03 kB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001047/0.01226, allocations: 168.5 kB / 0.8845 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.01229, allocations: 19.91 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.01254, allocations: 148.7 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01254, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01255, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01255, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.0131, allocations: 0.5264 MB / 0.8852 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.01311, allocations: 3.984 kB / 0.8852 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.01323, allocations: 39.92 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01324, allocations: 0 / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.01325, allocations: 4 kB / 0.8852 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.01326, allocations: 4 kB / 0.8852 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01326, allocations: 3.938 kB / 0.8852 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.01361, allocations: 365.7 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.01364, allocations: 23.84 kB / 0.8856 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01366, allocations: 7.984 kB / 0.8856 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.01376, allocations: 19.88 kB / 0.8856 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.01382, allocations: 23.95 kB / 0.8856 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01383, allocations: 4 kB / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.0139, allocations: 149.6 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0139, allocations: 0 / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002788/0.01418, allocations: 31.95 kB / 0.8858 GB, free: 13.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001421/0.01432, allocations: 115.2 kB / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.01455, allocations: 105.6 kB / 0.886 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01455, allocations: 0 / 0.886 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.01464, allocations: 63.53 kB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01497, allocations: 27.92 kB / 0.8861 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.01578, allocations: 388.9 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.01584, allocations: 72.08 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.0159, allocations: 17.48 kB / 0.8866 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.01596, allocations: 20.48 kB / 0.8866 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of SimCode: time 8.61e-07/0.01596, allocations: 0 / 0.8866 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.004608/0.02057, allocations: 1.842 MB / 0.8884 GB, free: 11.29 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.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.630613232962787]