Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001159/0.001159, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001291/0.001291, allocations: 197.2 kB / 20.08 MB, free: 3 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.441/1.441, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 67.89 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3531, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002056/0.3552, allocations: 0.6688 MB / 1.215 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3567, allocations: 1.195 MB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.3567, allocations: 0 / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.3567, allocations: 7.922 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.3568, allocations: 15.92 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.3574, allocations: 209.9 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3577, allocations: 179.7 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.059e-05/0.3578, allocations: 8 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3579, allocations: 71.88 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.358, allocations: 59.84 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.358, allocations: 16 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.3581, allocations: 31.98 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.3581, allocations: 7.922 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.3582, allocations: 55.84 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3584, allocations: 151.6 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3584, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3584, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3585, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 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.0005933/0.359, allocations: 442.6 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3591, allocations: 12.03 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.3591, allocations: 20.81 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3593, allocations: 160.4 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3593, allocations: 4.375 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3593, allocations: 12.38 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3595, allocations: 50.23 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3595, allocations: 192 / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3595, allocations: 3.938 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3595, allocations: 11.94 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.846e-05/0.3595, allocations: 8 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.36, allocations: 356.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.3601, allocations: 42.44 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.3601, allocations: 16.84 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3601, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3603, allocations: 91.39 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3603, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002517/0.3606, allocations: 101.6 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3606, allocations: 55.41 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3607, allocations: 117.8 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3608, allocations: 29.7 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.3609, allocations: 100.1 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.3609, allocations: 19.91 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.361, allocations: 45.69 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3611, allocations: 322.8 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3613, allocations: 63.91 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3614, allocations: 92.25 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.3616, allocations: 155.6 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3617, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004497/0.3621, allocations: 269.3 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.3622, allocations: 67.39 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3622, allocations: 0 / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3622, allocations: 8.125 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.3622, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3622, allocations: 7.938 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.3626, allocations: 51.89 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.3626, allocations: 15.98 kB / 1.219 GB, free: 11.23 MB / 0.9669 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.0001156/0.3627, allocations: 125.8 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.3627, allocations: 11.94 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.3628, allocations: 8.375 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3628, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3628, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3628, allocations: 4 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3629, allocations: 173.5 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3629, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.363, allocations: 7.984 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.363, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.363, allocations: 3.938 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.363, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.363, allocations: 4 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3631, allocations: 116.9 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3632, allocations: 81.11 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.3632, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.3632, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.3633, allocations: 11.98 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3633, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.54e-05/0.3633, allocations: 95.27 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3633, allocations: 0 / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002323/0.3636, allocations: 24 kB / 1.22 GB, free: 10.47 MB / 0.9669 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.0001556/0.3637, allocations: 107.2 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.3641, allocations: 226.7 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3641, allocations: 0 / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.3641, allocations: 20.47 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3644, allocations: 24.47 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.3647, allocations: 196.3 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3651, allocations: 0.6885 MB / 1.221 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.3651, allocations: 11.44 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3651, allocations: 0 / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of Templates: time 0.003347/0.3684, allocations: 1.384 MB / 1.223 GB, free: 7.738 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.18759983102791]