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.001724/0.001724, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002247/0.002247, allocations: 163 kB / 23.01 MB, free: 4.594 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.544/1.544, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.003628/0.003628, allocations: 75.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9326/0.9362, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001655/0.9379, allocations: 0.6368 MB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.9391, allocations: 1.202 MB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.9391, allocations: 1.594 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.9392, allocations: 3.938 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.9392, allocations: 11.11 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.9398, allocations: 222.5 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.94, allocations: 170.4 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.9401, allocations: 8.891 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.9402, allocations: 74.09 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.9403, allocations: 56.94 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.9404, allocations: 15.34 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.9405, allocations: 35.36 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.9405, allocations: 12.52 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.9406, allocations: 52.12 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.9408, allocations: 150.5 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9408, allocations: 0 / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9408, allocations: 0.9062 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9408, allocations: 0 / 1.189 GB, free: 14.6 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.0004176/0.9412, allocations: 354.9 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.9413, allocations: 9.75 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.9413, allocations: 12.05 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.871e-05/0.9414, allocations: 115.6 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.9414, allocations: 5.109 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.9414, allocations: 14.52 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.9415, allocations: 57.59 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.9415, allocations: 4.922 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.9416, allocations: 5.062 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.9416, allocations: 0 / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.9416, allocations: 13.53 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.942, allocations: 270.9 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.942, allocations: 37.91 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.9421, allocations: 18.86 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.9421, allocations: 1.328 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.9422, allocations: 86.62 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.9422, allocations: 0 / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002372/0.9424, allocations: 104 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.9425, allocations: 54.23 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.9425, allocations: 124.8 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.9426, allocations: 29.42 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.9426, allocations: 94.09 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.9426, allocations: 20.12 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.9427, allocations: 48.23 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.9428, allocations: 319.8 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.9429, allocations: 124.7 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.9431, allocations: 151.4 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9433, allocations: 158.1 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9433, allocations: 5.438 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004133/0.9437, allocations: 328.1 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.9437, allocations: 73.41 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9438, allocations: 1 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9438, allocations: 2.5 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.186e-05/0.9438, allocations: 2.219 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9438, allocations: 3.531 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.9442, allocations: 51.66 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.9442, allocations: 16.61 kB / 1.192 GB, free: 12.35 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.385e-05/0.9443, allocations: 128.2 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.9443, allocations: 7.156 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.9443, allocations: 7.109 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9443, allocations: 5.156 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9443, allocations: 0 / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.9443, allocations: 1.703 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.911e-05/0.9444, allocations: 119.8 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9444, allocations: 5.312 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-06/0.9444, allocations: 2.047 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9444, allocations: 0 / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.9444, allocations: 10.02 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.9444, allocations: 10.02 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9444, allocations: 0 / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.9446, allocations: 113.6 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.9446, allocations: 7.469 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.9446, allocations: 2.203 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.9446, allocations: 0 / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.9446, allocations: 10.39 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.9447, allocations: 7.391 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.9447, allocations: 89.72 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9447, allocations: 0 / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002472/0.9449, allocations: 39.62 kB / 1.192 GB, free: 11.87 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.0001126/0.945, allocations: 101.2 kB / 1.192 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.9454, allocations: 279.9 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9454, allocations: 1.25 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.9454, allocations: 19.62 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.9457, allocations: 20.98 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.9459, allocations: 165.1 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.946, allocations: 69.47 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.946, allocations: 9.312 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.946, allocations: 12.36 kB / 1.193 GB, free: 11.31 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.946, allocations: 0 / 1.193 GB, free: 11.31 MB / 1.076 GB Notification: Performance of Templates: time 0.005347/0.9514, allocations: 2.065 MB / 1.195 GB, free: 11.05 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.279027426964603]