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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002028/0.002028, allocations: 70.91 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002207/0.3572, allocations: 0.6733 MB / 1.308 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3591, allocations: 1.194 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.3592, allocations: 4 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.3592, allocations: 3.938 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.337e-05/0.3593, allocations: 15.84 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.36, allocations: 222 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.3604, allocations: 171.7 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.3605, allocations: 7.938 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3606, allocations: 67.94 kB / 1.31 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.3608, allocations: 67.78 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.3608, allocations: 16 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.289e-05/0.3609, allocations: 27.98 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.3609, allocations: 12 kB / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.361, allocations: 59.83 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3613, allocations: 143.5 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3613, allocations: 0 / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.719e-06/0.3613, allocations: 4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3613, allocations: 3.938 kB / 1.31 GB, free: 15.14 MB / 1.014 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.0005854/0.3619, allocations: 357.5 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.362, allocations: 12.92 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.3621, allocations: 12.89 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3622, allocations: 126.5 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3622, allocations: 4.375 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.3623, allocations: 12.38 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3624, allocations: 46.25 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3624, allocations: 192 / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3624, allocations: 3.938 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3624, allocations: 0 / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.3625, allocations: 19.92 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.363, allocations: 331.8 kB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.3631, allocations: 30.52 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.3631, allocations: 16.94 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3631, allocations: 0 / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3633, allocations: 83.31 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3633, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002675/0.3636, allocations: 101.6 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.3636, allocations: 59.39 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3638, allocations: 117.8 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.3638, allocations: 33.64 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.3639, allocations: 92.09 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3639, allocations: 15.91 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.364, allocations: 45.69 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3642, allocations: 326.8 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3643, allocations: 59.97 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3645, allocations: 96.62 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3647, allocations: 163.6 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3647, allocations: 0 / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004743/0.3652, allocations: 264.9 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.3653, allocations: 67.39 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3653, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3653, allocations: 4 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.237e-05/0.3653, allocations: 7.922 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3653, allocations: 4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.3657, allocations: 52.06 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.3657, allocations: 15.98 kB / 1.312 GB, free: 12.34 MB / 1.014 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.0001263/0.3658, allocations: 130.5 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3659, allocations: 11.89 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3659, allocations: 8.375 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3659, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3659, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3659, allocations: 8 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3661, allocations: 148.6 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3661, allocations: 4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.3661, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3661, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3661, allocations: 3.938 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3661, allocations: 4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3661, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.3662, allocations: 113 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.3663, allocations: 4 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3663, allocations: 3.984 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.3663, allocations: 4 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3663, allocations: 4 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3664, allocations: 11.97 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.3664, allocations: 91.22 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002539/0.3667, allocations: 39.94 kB / 1.313 GB, free: 11.69 MB / 1.014 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.0001671/0.3668, allocations: 103.2 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.3672, allocations: 218.6 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3672, allocations: 0 / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.3673, allocations: 27.97 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3675, allocations: 18.95 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.3679, allocations: 159.6 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.3684, allocations: 0.6846 MB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.3684, allocations: 7.984 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.3684, allocations: 11.44 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.3684, allocations: 0 / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of Templates: time 0.005187/0.3736, allocations: 1.868 MB / 1.316 GB, free: 8.539 MB / 1.014 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=400 -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/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: 9.477664954960346]