Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0007939/0.0007939, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.001919, 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.0007005/0.0007005, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008903/0.001591, 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.9668/0.9668, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09018/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.892/1.892, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.527/2.419, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.629e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001545/0.001571, allocations: 0.7 MB / 0.73 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.002945, allocations: 1.242 MB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.002995, allocations: 0 / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.003025, allocations: 3.938 kB / 0.7312 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.00308, allocations: 17.08 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.003533, allocations: 201 kB / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.003749, allocations: 177.1 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.003842, allocations: 9.438 kB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.003972, allocations: 101.5 kB / 0.7317 GB, free: 2.098 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.004077, allocations: 47.91 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.004104, allocations: 12 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.004195, allocations: 36.58 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.004218, allocations: 8.594 kB / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.004264, allocations: 32.69 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.004429, allocations: 99.78 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.004445, allocations: 1.781 kB / 0.732 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004446, allocations: 0 / 0.732 GB, free: 1.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.00446, allocations: 4 kB / 0.732 GB, free: 1.863 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.0004977/0.004958, allocations: 347.8 kB / 0.7323 GB, free: 1.484 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.004995, allocations: 12.03 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.00504, allocations: 13.89 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.005136, allocations: 121.6 kB / 0.7324 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.005152, allocations: 4.938 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.005171, allocations: 12.38 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.005253, allocations: 43.42 kB / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.005262, allocations: 192 / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.005269, allocations: 384 / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.005275, allocations: 0.875 kB / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.005295, allocations: 16.75 kB / 0.7325 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.005557, allocations: 176.3 kB / 0.7327 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.005618, allocations: 31.44 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.005633, allocations: 8.859 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.005639, allocations: 0.5625 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.005759, allocations: 93.09 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.00576, allocations: 3.938 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001423/0.005903, allocations: 77.59 kB / 0.7329 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.005936, allocations: 51.41 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.006006, allocations: 118.7 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.006029, allocations: 34.83 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.006074, allocations: 96.08 kB / 0.7332 GB, free: 496 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.006086, allocations: 15.81 kB / 0.7332 GB, free: 480 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.006144, allocations: 42.66 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.006227, allocations: 322.8 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.006325, allocations: 96.39 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.006411, allocations: 131.6 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.006515, allocations: 149 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.006518, allocations: 0.5 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000212/0.00673, allocations: 265.2 kB / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.006787, allocations: 72.11 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.006794, allocations: 3.938 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006805, allocations: 4 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.08e-05/0.006826, allocations: 3.938 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.00683, allocations: 4 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.006989, allocations: 41.11 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.007008, allocations: 12.52 kB / 0.7343 GB, free: 15.23 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,and1.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.56e-05/0.007083, allocations: 118.7 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.007094, allocations: 7.984 kB / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.007124, allocations: 12.88 kB / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.007127, allocations: 4.75 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.00713, allocations: 3.984 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.007134, allocations: 1.031 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.359e-05/0.007208, allocations: 73.88 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007209, allocations: 0 / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.007217, allocations: 4.688 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.007226, allocations: 7.938 kB / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007228, allocations: 9.719 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.007232, allocations: 0 / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.007235, allocations: 3.938 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007236, allocations: 0 / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.007318, allocations: 81.11 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.007328, allocations: 5.156 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.007341, allocations: 0 / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.007369, allocations: 11.98 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.007374, allocations: 8.75 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.764e-05/0.007392, allocations: 20.83 kB / 0.7346 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007392, allocations: 0.8438 kB / 0.7346 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001362/0.007528, allocations: 31.94 kB / 0.7347 GB, free: 14.78 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,and1.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.0001196/0.007648, allocations: 90.84 kB / 0.7348 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.007849, allocations: 262.9 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.007853, allocations: 0 / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.007875, allocations: 16.86 kB / 0.735 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.008006, allocations: 26.69 kB / 0.735 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.008454, allocations: 159.9 kB / 0.7352 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.008487, allocations: 59.34 kB / 0.7353 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.008512, allocations: 4 kB / 0.7353 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.008619, allocations: 79.34 kB / 0.7353 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.00862, allocations: 0 / 0.7353 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.003981/0.0126, allocations: 2.285 MB / 0.7376 GB, free: 11.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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: 4.943588251248002]