Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001231/0.001231, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001873/0.003105, 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.001144/0.001144, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003831/0.004975, 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.9535/0.9535, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0946/1.048, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.895/1.895, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.555/2.45, allocations: 123.3 MB / 0.728 GB, free: 5.844 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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.574e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00151/0.001536, allocations: 0.6999 MB / 0.73 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.00272, allocations: 1.24 MB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.002759, allocations: 4 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.002781, allocations: 3.938 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.00283, allocations: 14.75 kB / 0.7313 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.00322, allocations: 203.9 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.003412, allocations: 174.6 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.003488, allocations: 11.98 kB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.003605, allocations: 99.42 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003705, allocations: 49.75 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.003731, allocations: 16 kB / 0.7318 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.5e-05/0.003806, allocations: 32.61 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.003826, allocations: 8 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.003872, allocations: 32.81 kB / 0.7319 GB, free: 2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.004035, allocations: 107.8 kB / 0.732 GB, free: 1.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.004051, allocations: 0.5 kB / 0.732 GB, free: 1.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004052, allocations: 1.438 kB / 0.732 GB, free: 1.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.004063, allocations: 0 / 0.732 GB, free: 1.895 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.0003648/0.004428, allocations: 343.9 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.00446, allocations: 12.02 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.004491, allocations: 17.52 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.23e-05/0.004563, allocations: 117.6 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.004576, allocations: 5.062 kB / 0.7324 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.004594, allocations: 12.38 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.947e-05/0.004654, allocations: 42.98 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004661, allocations: 192 / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.004669, allocations: 6.156 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004673, allocations: 384 / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.004691, allocations: 11.94 kB / 0.7325 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.004925, allocations: 180.2 kB / 0.7327 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.00498, allocations: 31.3 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.004994, allocations: 14.91 kB / 0.7327 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-06/0.004999, allocations: 0 / 0.7327 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.338e-05/0.005093, allocations: 79.25 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005094, allocations: 0 / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.00012/0.005214, allocations: 77.59 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.005245, allocations: 52.88 kB / 0.7329 GB, free: 0.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.005307, allocations: 122.6 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.005326, allocations: 29.7 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.005366, allocations: 100.1 kB / 0.7332 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.005377, allocations: 12.75 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.005429, allocations: 45.67 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.005511, allocations: 323.7 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.00558, allocations: 99.31 kB / 0.7336 GB, free: 28 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.005673, allocations: 131.7 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/0.005773, allocations: 146 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005775, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001908/0.005966, allocations: 261.6 kB / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.006014, allocations: 67.39 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.00602, allocations: 8.5 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.006028, allocations: 3.984 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.595e-05/0.006044, allocations: 4.562 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.006049, allocations: 4.906 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.006191, allocations: 45.17 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.006207, allocations: 7.984 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,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.588e-05/0.006273, allocations: 118.7 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.006282, allocations: 11.92 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.006309, allocations: 17.41 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006311, allocations: 0 / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.006313, allocations: 0 / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006316, allocations: 0.6875 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.236e-05/0.006378, allocations: 77.88 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.00638, allocations: 1.781 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-06/0.006385, allocations: 0 / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.006393, allocations: 7.953 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006394, allocations: 0 / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.006399, allocations: 3.984 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.006401, allocations: 5 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.006405, allocations: 11.98 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.006475, allocations: 85.09 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.006483, allocations: 0.75 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.006496, allocations: 4 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.00652, allocations: 8.672 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.006526, allocations: 8 kB / 0.7346 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.432e-05/0.00654, allocations: 14.88 kB / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00654, allocations: 0 / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001269/0.006667, allocations: 31.94 kB / 0.7347 GB, free: 14.82 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,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 0.0001236/0.00679, allocations: 89.77 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.006982, allocations: 258.9 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.006985, allocations: 0 / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.007007, allocations: 22 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.000109/0.007116, allocations: 21.61 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.007537, allocations: 159.3 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.007567, allocations: 59.34 kB / 0.7352 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.007585, allocations: 4 kB / 0.7353 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.007677, allocations: 79.34 kB / 0.7353 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.007678, allocations: 0 / 0.7353 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.003344/0.01102, allocations: 2.296 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.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand/Buildings_12_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: 4.9545858120545745]