Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001001/0.001001, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009261/0.0009261, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9716/0.9716, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.779/1.779, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.087e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001183/0.001204, allocations: 0.614 MB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.002511, allocations: 1.163 MB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.002561, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.002595, allocations: 0.9688 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.002681, allocations: 11.86 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.003181, allocations: 117.5 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.003345, allocations: 87.89 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.00345, allocations: 0 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.121e-05/0.003541, allocations: 56.64 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.003623, allocations: 23.95 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.003645, allocations: 14.47 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.667e-05/0.003701, allocations: 12 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.003721, allocations: 11.98 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.003769, allocations: 27.91 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.003902, allocations: 67.91 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003905, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003905, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.003913, allocations: 1.688 kB / 0.7892 GB, free: 10.3 MB / 0.7448 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.0003698/0.004283, allocations: 406.3 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.00432, allocations: 8.031 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.004367, allocations: 8.938 kB / 0.7896 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.636e-05/0.004443, allocations: 108.6 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004455, allocations: 4.969 kB / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.004471, allocations: 8.938 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.004553, allocations: 64.98 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.004559, allocations: 192 / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.004571, allocations: 4.375 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004577, allocations: 2.219 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.252e-05/0.004589, allocations: 3.938 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.00487, allocations: 279.8 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.004918, allocations: 30.98 kB / 0.7901 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.004931, allocations: 13.22 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-06/0.004935, allocations: 0 / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.042e-05/0.005025, allocations: 94.69 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005026, allocations: 0 / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.005183, allocations: 66.52 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.005214, allocations: 55.41 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.005286, allocations: 168.5 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.005303, allocations: 29.7 kB / 0.7905 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.005352, allocations: 138.8 kB / 0.7906 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.005359, allocations: 0 / 0.7906 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.005405, allocations: 39.34 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.005508, allocations: 492.1 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.005563, allocations: 53.69 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.005626, allocations: 89.27 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.005697, allocations: 85.41 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0057, allocations: 0.5312 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001863/0.005886, allocations: 170.6 kB / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.005924, allocations: 47.5 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.00593, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.005946, allocations: 4 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-05/0.005964, allocations: 0.5312 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005968, allocations: 0.5938 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.006101, allocations: 20.77 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.006118, allocations: 7.984 kB / 0.7916 GB, free: 7.57 MB / 0.7448 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 8.208e-05/0.0062, allocations: 165.7 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.006209, allocations: 4 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006236, allocations: 9.312 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.006238, allocations: 0 / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.006243, allocations: 0 / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006245, allocations: 0 / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.034e-05/0.006326, allocations: 121.5 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006327, allocations: 4 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-06/0.006332, allocations: 0.7812 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006334, allocations: 3.984 kB / 0.7919 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.00634, allocations: 1.156 kB / 0.7919 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006342, allocations: 3.938 kB / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.006343, allocations: 0 / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.27e-05/0.006436, allocations: 88.39 kB / 0.792 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.006444, allocations: 8.781 kB / 0.792 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006455, allocations: 4 kB / 0.792 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-06/0.006465, allocations: 9.328 kB / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.006497, allocations: 3.938 kB / 0.792 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.006505, allocations: 4.312 kB / 0.792 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.006549, allocations: 127.2 kB / 0.7921 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.006549, allocations: 1.125 kB / 0.7921 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001442/0.006693, allocations: 23.98 kB / 0.7922 GB, free: 6.938 MB / 0.7448 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.0001316/0.006825, allocations: 101.1 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.007003, allocations: 140.8 kB / 0.7924 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007004, allocations: 0 / 0.7924 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.007025, allocations: 22.31 kB / 0.7924 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.007173, allocations: 11.98 kB / 0.7924 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.007391, allocations: 122.2 kB / 0.7926 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.007419, allocations: 55.36 kB / 0.7926 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.00744, allocations: 8.609 kB / 0.7926 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.007458, allocations: 14.42 kB / 0.7926 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.007458, allocations: 0 / 0.7926 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.002855/0.01031, allocations: 1.292 MB / 0.7939 GB, free: 5.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.860960808116943]