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.00166/0.00166, allocations: 83.81 kB / 19.76 MB, free: 2.016 MB / 14.72 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.002018/0.002018, allocations: 154 kB / 23 MB, free: 4.973 MB / 14.72 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.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.863/2.863, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003523/0.003523, allocations: 59.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.9423, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001852/0.9442, allocations: 0.6476 MB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.9454, allocations: 1.199 MB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.9455, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.9455, allocations: 3.938 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.9456, allocations: 18.73 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.9462, allocations: 212.4 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.9464, allocations: 173.5 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.9465, allocations: 14.28 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.9465, allocations: 69.81 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.9467, allocations: 51.94 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.9467, allocations: 14.53 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.9468, allocations: 35.27 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.9468, allocations: 6.969 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.9469, allocations: 49.88 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.947, allocations: 162.4 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.947, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/0.947, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.947, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 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.0004279/0.9475, allocations: 361.2 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.9475, allocations: 7.562 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.9476, allocations: 10.78 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.347e-05/0.9476, allocations: 113 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.9477, allocations: 5.688 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.9477, allocations: 16.08 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.9478, allocations: 44.45 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9478, allocations: 4.188 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.9478, allocations: 7.359 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9478, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.9479, allocations: 20.22 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.9482, allocations: 267.4 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.9483, allocations: 34.75 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.9483, allocations: 18.48 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.9483, allocations: 0 / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.9485, allocations: 90.31 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9485, allocations: 4 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002326/0.9487, allocations: 101.1 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.9488, allocations: 62.19 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.9488, allocations: 114.5 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.9489, allocations: 32.11 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.9489, allocations: 94.23 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.9489, allocations: 14.77 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.949, allocations: 54.66 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.949, allocations: 313.8 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.9492, allocations: 126.7 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.9493, allocations: 150.4 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.9495, allocations: 164.8 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9495, allocations: 0 / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003753/0.9498, allocations: 324.5 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.9499, allocations: 72.88 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9499, allocations: 2.938 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9499, allocations: 4.109 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.266e-05/0.9499, allocations: 10.81 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.9499, allocations: 2.844 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.9503, allocations: 58 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.9503, allocations: 12.19 kB / 1.159 GB, free: 29.48 MB / 1.076 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 7.459e-05/0.9504, allocations: 130.8 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.9504, allocations: 2.844 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.9504, allocations: 15.77 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.9504, allocations: 2.75 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9504, allocations: 0 / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9504, allocations: 0 / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.474e-05/0.9505, allocations: 116.9 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9505, allocations: 2.812 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.9505, allocations: 3.141 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.9505, allocations: 0 / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.9505, allocations: 2.719 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9505, allocations: 3.938 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9505, allocations: 0 / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.9506, allocations: 119.9 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.9506, allocations: 18.03 kB / 1.159 GB, free: 29.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.9507, allocations: 6.688 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.9507, allocations: 3.938 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.9507, allocations: 10.36 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.9507, allocations: 2.625 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.9508, allocations: 91.69 kB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9508, allocations: 0 / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002386/0.951, allocations: 29.62 kB / 1.16 GB, free: 29.01 MB / 1.076 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.0001152/0.9511, allocations: 112.2 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.9514, allocations: 277.1 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9514, allocations: 0 / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.9514, allocations: 17.16 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.9517, allocations: 19.22 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.952, allocations: 166.4 kB / 1.16 GB, free: 28.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.952, allocations: 73.64 kB / 1.16 GB, free: 28.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.9521, allocations: 2.812 kB / 1.16 GB, free: 28.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.9521, allocations: 17.14 kB / 1.16 GB, free: 28.45 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9521, allocations: 0 / 1.16 GB, free: 28.45 MB / 1.076 GB Notification: Performance of Templates: time 0.004538/0.9566, allocations: 2.058 MB / 1.162 GB, free: 28.19 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.293185775983147]