Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001087/0.001087, allocations: 73.97 kB / 20.65 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.001091/0.001091, allocations: 169.4 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.107/1.107, allocations: 177.1 MB / 204.5 MB, free: 4.789 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.257/2.257, allocations: 429.5 MB / 0.6743 GB, free: 3.859 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.531e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001834/0.001869, allocations: 0.6088 MB / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003406, allocations: 1.157 MB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.003466, allocations: 1.625 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.0035, allocations: 0 / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.003599, allocations: 11.03 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.004151, allocations: 116.5 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.004322, allocations: 90.45 kB / 0.8813 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.004421, allocations: 11.97 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004536, allocations: 47.91 kB / 0.8814 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.004631, allocations: 20.97 kB / 0.8814 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.004654, allocations: 8 kB / 0.8814 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.004729, allocations: 27.91 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.004753, allocations: 5.094 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.004794, allocations: 27.97 kB / 0.8814 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.004943, allocations: 68.5 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.004949, allocations: 4 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.01e-07/0.00495, allocations: 1.906 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004954, allocations: 0 / 0.8815 GB, free: 3.867 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004637/0.005418, allocations: 402.2 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.005464, allocations: 12.03 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.005513, allocations: 8.891 kB / 0.8819 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.005618, allocations: 117.6 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.005632, allocations: 4.312 kB / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.00565, allocations: 8.375 kB / 0.882 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.005743, allocations: 60.7 kB / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005753, allocations: 3.688 kB / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005763, allocations: 4.359 kB / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005769, allocations: 384 / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.194e-05/0.005781, allocations: 7.938 kB / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.006096, allocations: 252.4 kB / 0.8824 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.006147, allocations: 27 kB / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.00616, allocations: 15.75 kB / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-06/0.006163, allocations: 0 / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.006286, allocations: 90.73 kB / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.006288, allocations: 0.625 kB / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001915/0.006479, allocations: 70.09 kB / 0.8826 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.006521, allocations: 51.41 kB / 0.8826 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.006622, allocations: 166.7 kB / 0.8828 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.006643, allocations: 25.7 kB / 0.8828 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.006699, allocations: 131.7 kB / 0.8829 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.00671, allocations: 7.953 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.006762, allocations: 36.88 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.006894, allocations: 496.1 kB / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.00696, allocations: 53.67 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.00703, allocations: 76.73 kB / 0.8836 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.007111, allocations: 88.69 kB / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.007114, allocations: 0 / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00019/0.007304, allocations: 161 kB / 0.8838 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.007351, allocations: 37.7 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.007357, allocations: 0 / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.007372, allocations: 8.25 kB / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.121e-05/0.007393, allocations: 0 / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.007396, allocations: 0 / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.007537, allocations: 36.02 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.007558, allocations: 7.938 kB / 0.8839 GB, free: 1.18 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: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.722e-05/0.007655, allocations: 160.5 kB / 0.884 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.00767, allocations: 8 kB / 0.884 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.007698, allocations: 7.984 kB / 0.884 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.007702, allocations: 3.938 kB / 0.884 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.007705, allocations: 0 / 0.884 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.007709, allocations: 0 / 0.884 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.184e-05/0.007801, allocations: 97.25 kB / 0.8841 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007802, allocations: 0 / 0.8841 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.007814, allocations: 11.98 kB / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007815, allocations: 0 / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.007821, allocations: 0 / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.007821, allocations: 0 / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007823, allocations: 0 / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007939, allocations: 92.59 kB / 0.8842 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.007948, allocations: 3.953 kB / 0.8842 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.007956, allocations: 3.938 kB / 0.8842 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.00797, allocations: 7.984 kB / 0.8843 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.007999, allocations: 7.938 kB / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.008004, allocations: 0 / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.008051, allocations: 127.2 kB / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008052, allocations: 0 / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001646/0.008216, allocations: 23.92 kB / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001553/0.008371, allocations: 95.25 kB / 0.8845 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.008552, allocations: 140.7 kB / 0.8846 GB, free: 316 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.008555, allocations: 4 kB / 0.8846 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.008576, allocations: 15.62 kB / 0.8846 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.008762, allocations: 12.17 kB / 0.8847 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.009068, allocations: 122.2 kB / 0.8848 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.009107, allocations: 59.3 kB / 0.8848 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.541e-05/0.009133, allocations: 3.984 kB / 0.8848 GB, free: 44 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.009238, allocations: 86.19 kB / 0.8849 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.009239, allocations: 0 / 0.8849 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.003686/0.01292, allocations: 1.33 MB / 0.8862 GB, free: 14.66 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.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.139757530298084]