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.00184/0.00184, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002027/0.002027, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.051/3.051, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.565e-06/2.565e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.122e-05, allocations: 4.562 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002142/0.002173, allocations: 0.6501 MB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.003944, allocations: 1.21 MB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.003988, allocations: 0.875 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.004011, allocations: 3.938 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.004093, allocations: 16.64 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.004764, allocations: 213.1 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.005048, allocations: 177.2 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.00516, allocations: 11.98 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.005326, allocations: 91.92 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.005466, allocations: 47.86 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.005516, allocations: 17.59 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.005609, allocations: 31.97 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.005633, allocations: 4 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.005731, allocations: 55.88 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.006031, allocations: 181.1 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.006045, allocations: 4 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.342e-06/0.006046, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.006052, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 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.0006592/0.006711, allocations: 459.5 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.00676, allocations: 12.59 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.006837, allocations: 13.48 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.006976, allocations: 120.5 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.007013, allocations: 9.156 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.007049, allocations: 12.38 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.007177, allocations: 55.33 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.007186, allocations: 192 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.007195, allocations: 384 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.007199, allocations: 1.75 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.007247, allocations: 19.92 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.007798, allocations: 327.7 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.007906, allocations: 48.75 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.00794, allocations: 15.77 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.007964, allocations: 0 / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.008134, allocations: 88.97 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.008135, allocations: 0.7812 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003014/0.008436, allocations: 113.5 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.008495, allocations: 56.16 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.008666, allocations: 189.9 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.008702, allocations: 30.3 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.00881, allocations: 138.9 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.008833, allocations: 20.41 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.008966, allocations: 63.86 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002766/0.009242, allocations: 0.4884 MB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.009459, allocations: 135.9 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.009709, allocations: 183.2 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.00998, allocations: 188.2 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009983, allocations: 0 / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005685/0.01055, allocations: 364.2 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.01062, allocations: 67.33 kB / 0.8165 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01062, allocations: 0 / 0.8165 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01064, allocations: 0.5312 kB / 0.8165 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.221e-05/0.01066, allocations: 8.719 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01067, allocations: 3.984 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.01097, allocations: 37.19 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.011, allocations: 13.05 kB / 0.8166 GB, free: 11.84 MB / 0.7761 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 0.0001416/0.01114, allocations: 168.5 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.01117, allocations: 20.98 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.0112, allocations: 8.422 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.01121, allocations: 3.984 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01121, allocations: 0.8438 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01121, allocations: 0 / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.01137, allocations: 138.8 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01137, allocations: 0 / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.01138, allocations: 4 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01138, allocations: 0 / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01139, allocations: 8 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01139, allocations: 0 / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01139, allocations: 10.77 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.01159, allocations: 120.3 kB / 0.8171 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.01161, allocations: 15.88 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.01162, allocations: 7.938 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.01164, allocations: 0 / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01169, allocations: 7.984 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.01169, allocations: 0 / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001033/0.0118, allocations: 139.2 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 1.594 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002293/0.01203, allocations: 28 kB / 0.8173 GB, free: 11.11 MB / 0.7761 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.0001726/0.0122, allocations: 104.4 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.01267, allocations: 329.8 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01267, allocations: 1 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.01275, allocations: 39.59 kB / 0.8177 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01299, allocations: 20.98 kB / 0.8177 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.01337, allocations: 170.7 kB / 0.8179 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.01344, allocations: 71.33 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.01347, allocations: 5.344 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.0135, allocations: 12.5 kB / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.0135, allocations: 0 / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.006062/0.01956, allocations: 2.061 MB / 0.82 GB, free: 8.293 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.310556860058568]