Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.0009316/0.0009316, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002471, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009043/0.0009043, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002208, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.101/1.101, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1278/1.229, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.612/2.612, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2782/2.89, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.105e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001433/0.001455, allocations: 0.6921 MB / 0.819 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002589, allocations: 1.248 MB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.002654, allocations: 4 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.002676, allocations: 3.938 kB / 0.8202 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.002716, allocations: 7.875 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.003072, allocations: 211.4 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.00324, allocations: 175.7 kB / 0.8206 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.744e-05/0.003308, allocations: 8 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.00341, allocations: 99.91 kB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.003502, allocations: 47.86 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.00353, allocations: 16 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.003789, allocations: 27.98 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.00381, allocations: 15.92 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.003856, allocations: 32 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.003997, allocations: 99.73 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.00401, allocations: 4 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004011, allocations: 0 / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.004023, allocations: 0 / 0.8209 GB, free: 196 kB / 0.7917 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.0003974/0.004421, allocations: 351.8 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.004449, allocations: 8.625 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.004484, allocations: 12.92 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.004561, allocations: 113.7 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.004575, allocations: 12.38 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.0046, allocations: 8.375 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.374e-05/0.004663, allocations: 46.17 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.004669, allocations: 192 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.004674, allocations: 8.375 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.004678, allocations: 384 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.004695, allocations: 11.92 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.004935, allocations: 180.3 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.004988, allocations: 30.62 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.005001, allocations: 12.8 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.005008, allocations: 4 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.383e-05/0.005102, allocations: 79.38 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005103, allocations: 0 / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001196/0.005223, allocations: 81.55 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.005254, allocations: 59.39 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.00531, allocations: 118.7 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.005356, allocations: 33.64 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.005394, allocations: 92.12 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.005407, allocations: 19.83 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.00546, allocations: 41.67 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.005532, allocations: 318.8 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.005604, allocations: 99.38 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.005681, allocations: 135.6 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.005804, allocations: 139.6 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005806, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000174/0.00598, allocations: 268.2 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.006023, allocations: 67.39 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.00603, allocations: 7.938 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.006036, allocations: 0 / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.832e-05/0.006054, allocations: 8.125 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006057, allocations: 0 / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.0062, allocations: 47.91 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.006214, allocations: 4 kB / 0.8232 GB, free: 13.55 MB / 0.8073 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,nand1.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 6.556e-05/0.00628, allocations: 125.8 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.006289, allocations: 4 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.006312, allocations: 20.31 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.006313, allocations: 0 / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006315, allocations: 4 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.006318, allocations: 3.984 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.151e-05/0.00638, allocations: 73.89 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006381, allocations: 0 / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-06/0.006388, allocations: 8.047 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.006396, allocations: 11.89 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006398, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.006401, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006403, allocations: 3.938 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006404, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.713e-05/0.006481, allocations: 81.42 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.006489, allocations: 8 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.006503, allocations: 3.984 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.006527, allocations: 7.875 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006531, allocations: 4 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.558e-05/0.006547, allocations: 29.17 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006547, allocations: 4 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001186/0.006665, allocations: 24 kB / 0.8236 GB, free: 13.09 MB / 0.8073 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,nand1.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 9.544e-05/0.006761, allocations: 90.23 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.006937, allocations: 263 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.00694, allocations: 0 / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.00696, allocations: 20.84 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.007069, allocations: 23.97 kB / 0.824 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.007457, allocations: 145.2 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.007486, allocations: 59.22 kB / 0.8242 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.00753, allocations: 7.984 kB / 0.8242 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.007627, allocations: 79.59 kB / 0.8243 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.007628, allocations: 0 / 0.8243 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.00344/0.01107, allocations: 2.303 MB / 0.8266 GB, free: 10.06 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.6587148839607835]