Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001174/0.001174, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002706, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001088/0.001088, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002417, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0911/1.058, allocations: 53.66 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.955/1.955, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.572/2.527, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.715e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002061/0.002088, allocations: 0.6997 MB / 0.73 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003602, allocations: 1.247 MB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.003641, allocations: 0.6562 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.003663, allocations: 3.938 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.003709, allocations: 6.156 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.004116, allocations: 209.4 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.004315, allocations: 178.7 kB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.004398, allocations: 8 kB / 0.7316 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.00452, allocations: 103.5 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004626, allocations: 45.23 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.004652, allocations: 16 kB / 0.7318 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.004736, allocations: 31.92 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.004756, allocations: 12.48 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.004805, allocations: 35.94 kB / 0.7319 GB, free: 2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004961, allocations: 97.17 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.004977, allocations: 0 / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004978, allocations: 0 / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.004994, allocations: 0.7188 kB / 0.732 GB, free: 1.906 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004496/0.005444, allocations: 347.9 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.005475, allocations: 8.719 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.005516, allocations: 12.92 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/0.005602, allocations: 127.2 kB / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.005614, allocations: 8.375 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.005631, allocations: 8.375 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.005701, allocations: 42.23 kB / 0.7325 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005709, allocations: 4.188 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.005715, allocations: 1.188 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.00572, allocations: 384 / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.005739, allocations: 12.42 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.006001, allocations: 181 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.006063, allocations: 36 kB / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.006075, allocations: 4.859 kB / 0.7327 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.006081, allocations: 4 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.006184, allocations: 88.19 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.006186, allocations: 0 / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001386/0.006324, allocations: 69.61 kB / 0.7329 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.006361, allocations: 63.92 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.006422, allocations: 119.5 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.006443, allocations: 29.7 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.006485, allocations: 97.83 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.006498, allocations: 15.88 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.006554, allocations: 41.67 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.006624, allocations: 318.8 kB / 0.7335 GB, free: 148 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.006697, allocations: 103.3 kB / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.006789, allocations: 136.2 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.00688, allocations: 141.2 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006882, allocations: 1.125 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001786/0.007061, allocations: 265 kB / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.007105, allocations: 71.39 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007111, allocations: 4.469 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.007121, allocations: 0.9375 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-05/0.007141, allocations: 7.984 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.007144, allocations: 3.938 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.007301, allocations: 49.38 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.007317, allocations: 4 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.155e-05/0.007389, allocations: 123.3 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.007401, allocations: 8 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.007426, allocations: 16.94 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007428, allocations: 0 / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.007431, allocations: 4.547 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007434, allocations: 0 / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.101e-05/0.007505, allocations: 75.05 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.007506, allocations: 0 / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.007512, allocations: 3.984 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.007522, allocations: 9.047 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007524, allocations: 0 / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-06/0.007528, allocations: 0 / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007531, allocations: 5.188 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.007534, allocations: 7.938 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.542e-05/0.007609, allocations: 77.11 kB / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.007619, allocations: 5.031 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.007634, allocations: 3.984 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.007659, allocations: 3.938 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.007664, allocations: 4.531 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.007682, allocations: 26.58 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007682, allocations: 0 / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001305/0.007813, allocations: 27.94 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001191/0.007932, allocations: 89.62 kB / 0.7347 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.008125, allocations: 259 kB / 0.735 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.008129, allocations: 8.672 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.008152, allocations: 20.86 kB / 0.735 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.008276, allocations: 30.06 kB / 0.735 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.008694, allocations: 156.9 kB / 0.7352 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.008723, allocations: 55.36 kB / 0.7352 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.008748, allocations: 9.297 kB / 0.7353 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.008843, allocations: 75.36 kB / 0.7353 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.008844, allocations: 0 / 0.7353 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.003591/0.01244, allocations: 2.294 MB / 0.7376 GB, free: 11.88 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.ref.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.138175460509956]