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.001601/0.001601, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001827/0.001827, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.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.809/2.809, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] 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.002126/0.002126, allocations: 68.08 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00198/0.3558, allocations: 0.6468 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3574, allocations: 1.207 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3575, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.3575, allocations: 7.922 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.3576, allocations: 15.86 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.3582, allocations: 216.5 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.3585, allocations: 167.8 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.3585, allocations: 8 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3586, allocations: 71.88 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3588, allocations: 51.84 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.3588, allocations: 16 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.3589, allocations: 27.98 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.3589, allocations: 11.94 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.359, allocations: 59.81 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3592, allocations: 147.6 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3592, allocations: 3.984 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3592, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3593, allocations: 4 kB / 1.286 GB, free: 9.277 MB / 0.9825 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.0005681/0.3598, allocations: 357.5 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3599, allocations: 12.03 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.3599, allocations: 8.938 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.36, allocations: 114.5 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3601, allocations: 12.38 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3601, allocations: 8.375 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3602, allocations: 46.19 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3602, allocations: 8.109 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3602, allocations: 7.938 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3602, allocations: 4 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.3603, allocations: 12 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.3608, allocations: 272.5 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.144e-05/0.3608, allocations: 38.56 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.3609, allocations: 20.73 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.3609, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3611, allocations: 83.41 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.3611, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002655/0.3613, allocations: 101.7 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3614, allocations: 55.34 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3615, allocations: 125.8 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.3615, allocations: 29.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.3616, allocations: 96.11 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3616, allocations: 15.91 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.3617, allocations: 45.69 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3618, allocations: 314.8 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.362, allocations: 119.4 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3622, allocations: 155.7 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3624, allocations: 168 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3624, allocations: 0 / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005026/0.3629, allocations: 328.2 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.363, allocations: 67.39 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.363, allocations: 4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.363, allocations: 3.984 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.338e-05/0.3631, allocations: 7.938 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3631, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.3634, allocations: 56.06 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.3634, allocations: 11.98 kB / 1.288 GB, free: 6.332 MB / 0.9825 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.0001167/0.3636, allocations: 125.7 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.3636, allocations: 11.94 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.3636, allocations: 12.38 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3636, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3636, allocations: 4 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3636, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3637, allocations: 129.2 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3637, allocations: 0 / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.3637, allocations: 4 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3637, allocations: 4 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3637, allocations: 0 / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3637, allocations: 4 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3637, allocations: 0 / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3639, allocations: 113 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.3639, allocations: 7.953 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3639, allocations: 7.984 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.364, allocations: 4 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.364, allocations: 4 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.364, allocations: 3.984 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.3641, allocations: 87.28 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3641, allocations: 3.938 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002463/0.3643, allocations: 32 kB / 1.289 GB, free: 5.727 MB / 0.9825 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.0001422/0.3645, allocations: 99.52 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.3649, allocations: 282.2 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3649, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.3649, allocations: 35.86 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3652, allocations: 18.88 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.3656, allocations: 154.8 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.3657, allocations: 79.27 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.3657, allocations: 8.125 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.3657, allocations: 7.438 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3657, allocations: 4 kB / 1.289 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.005426/0.3712, allocations: 2.092 MB / 1.291 GB, free: 2.926 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.302548490464687]