Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001985/0.001985, 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.002836/0.002836, allocations: 162.9 kB / 23.01 MB, free: 4.598 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.519/1.519, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.696/2.696, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002246/0.002246, allocations: 71.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3665, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002254/0.3687, allocations: 0.6442 MB / 1.118 GB, free: 1.922 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3705, allocations: 1.213 MB / 1.119 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.3706, allocations: 0 / 1.119 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.3706, allocations: 3.938 kB / 1.119 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.3707, allocations: 19.91 kB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.3715, allocations: 213.2 kB / 1.119 GB, free: 480 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.3718, allocations: 171.7 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3719, allocations: 15.91 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3721, allocations: 63.95 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3722, allocations: 59.78 kB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.3723, allocations: 16 kB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.3724, allocations: 24 kB / 1.12 GB, free: 128 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3724, allocations: 11.98 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.3725, allocations: 55.89 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3728, allocations: 151.7 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3728, allocations: 0 / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3728, allocations: 0 / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3728, allocations: 0 / 1.12 GB, free: 15.91 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.0005863/0.3733, allocations: 357.5 kB / 1.12 GB, free: 15.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3734, allocations: 12.03 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.3735, allocations: 8.875 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3736, allocations: 122.4 kB / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3736, allocations: 4.375 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.3736, allocations: 16.36 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3737, allocations: 46.25 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3738, allocations: 4.172 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3738, allocations: 3.938 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3738, allocations: 4 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.3738, allocations: 11.98 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.3743, allocations: 276.4 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.3744, allocations: 26.58 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.3744, allocations: 24.88 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3744, allocations: 4 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.3746, allocations: 79.33 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3746, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002809/0.3749, allocations: 117.5 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3749, allocations: 51.41 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.375, allocations: 117.8 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.3751, allocations: 33.7 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3752, allocations: 88.14 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.3752, allocations: 11.91 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.3753, allocations: 53.69 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3754, allocations: 322.8 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.3756, allocations: 119.4 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3758, allocations: 158.6 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.376, allocations: 168 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.376, allocations: 0 / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004856/0.3765, allocations: 328.3 kB / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.3766, allocations: 67.39 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3766, allocations: 0 / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3766, allocations: 4 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.012e-05/0.3766, allocations: 0 / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3766, allocations: 4 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.377, allocations: 55.95 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.377, allocations: 20.08 kB / 1.123 GB, free: 12.95 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 0.0001126/0.3771, allocations: 129.7 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3771, allocations: 7.984 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.3772, allocations: 8.438 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3772, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3772, allocations: 0 / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3772, allocations: 0 / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3773, allocations: 117.2 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3773, allocations: 0 / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.3773, allocations: 8 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3773, allocations: 7.984 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3773, allocations: 0 / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3773, allocations: 0 / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3773, allocations: 4 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3775, allocations: 116.9 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.3775, allocations: 3.953 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3775, allocations: 7.938 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.3776, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3776, allocations: 7.984 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3776, allocations: 4 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.3777, allocations: 95.2 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3777, allocations: 4 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002441/0.3779, allocations: 28 kB / 1.123 GB, free: 12.35 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.0001586/0.3781, allocations: 107.2 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.3785, allocations: 278.1 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3785, allocations: 0 / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.3785, allocations: 27.92 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3788, allocations: 24.17 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.3792, allocations: 154.8 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.95e-05/0.3792, allocations: 67.34 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.3793, allocations: 7.984 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3793, allocations: 12.5 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.3793, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of Templates: time 0.005558/0.3849, allocations: 2.055 MB / 1.126 GB, free: 9.586 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.813843637006357]