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.002003/0.002003, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002608/0.002608, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.542/1.542, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.733/2.733, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 5.31e-06/5.31e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.745e-05/5.276e-05, allocations: 6.219 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.003596/0.003649, allocations: 0.6513 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.007133, allocations: 1.206 MB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.007245, allocations: 0 / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.007304, allocations: 3.938 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.007457, allocations: 15.88 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.008864, allocations: 223.6 kB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.009408, allocations: 175.6 kB / 0.9532 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.009579, allocations: 7.984 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.009946, allocations: 95.92 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.01023, allocations: 55.84 kB / 0.9534 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.01031, allocations: 12 kB / 0.9534 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.01046, allocations: 27.98 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.526e-05/0.01051, allocations: 8 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.01065, allocations: 51.88 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.0111, allocations: 179.6 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.01111, allocations: 0 / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.043e-06/0.01111, allocations: 0 / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.01112, allocations: 3.938 kB / 0.9536 GB, free: 8.848 MB / 0.8575 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.000902/0.01202, allocations: 361.5 kB / 0.954 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.01207, allocations: 8.031 kB / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01217, allocations: 12.89 kB / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.01236, allocations: 113.7 kB / 0.9541 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.01239, allocations: 8.375 kB / 0.9541 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.01245, allocations: 12.36 kB / 0.9541 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.01263, allocations: 46.25 kB / 0.9542 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01264, allocations: 4.188 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.01266, allocations: 384 / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.01266, allocations: 384 / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.01274, allocations: 23.92 kB / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.01362, allocations: 272.5 kB / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.01381, allocations: 38.45 kB / 0.9545 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.01386, allocations: 12.94 kB / 0.9545 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.01389, allocations: 0 / 0.9545 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.01431, allocations: 83.31 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 3.797e-06/0.01432, allocations: 0 / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005012/0.01482, allocations: 109.8 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.0149, allocations: 55.41 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.0151, allocations: 117.8 kB / 0.9548 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.01516, allocations: 29.7 kB / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.01529, allocations: 96.08 kB / 0.955 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.01533, allocations: 11.95 kB / 0.955 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.01549, allocations: 49.69 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.01573, allocations: 314.8 kB / 0.9553 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.01605, allocations: 127.4 kB / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.0164, allocations: 155.6 kB / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01676, allocations: 163.6 kB / 0.9557 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01676, allocations: 0 / 0.9557 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008126/0.01757, allocations: 324.7 kB / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.01766, allocations: 71.39 kB / 0.9561 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.01767, allocations: 80 / 0.9561 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/0.01771, allocations: 3.938 kB / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.473e-05/0.01774, allocations: 12.12 kB / 0.9561 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.01776, allocations: 7.984 kB / 0.9561 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.0183, allocations: 59.83 kB / 0.9562 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.01836, allocations: 15.98 kB / 0.9562 GB, free: 5.891 MB / 0.8575 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.0001899/0.01855, allocations: 121.8 kB / 0.9563 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01859, allocations: 11.92 kB / 0.9563 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.01863, allocations: 12.44 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01863, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01864, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01864, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.01886, allocations: 125.2 kB / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01886, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.01887, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.01889, allocations: 11.92 kB / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.0189, allocations: 0 / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0189, allocations: 0 / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.0189, allocations: 3.984 kB / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.01915, allocations: 109 kB / 0.9566 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.01918, allocations: 11.95 kB / 0.9566 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.01921, allocations: 3.938 kB / 0.9566 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.01924, allocations: 0 / 0.9566 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.01933, allocations: 11.98 kB / 0.9566 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.01934, allocations: 4 kB / 0.9566 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.29e-05/0.01943, allocations: 91.27 kB / 0.9567 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01943, allocations: 0 / 0.9567 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000457/0.01989, allocations: 31.94 kB / 0.9567 GB, free: 5.293 MB / 0.8575 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.0002742/0.02016, allocations: 103.2 kB / 0.9568 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005922/0.02076, allocations: 278.1 kB / 0.9571 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.02076, allocations: 0 / 0.9571 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.02084, allocations: 27.91 kB / 0.9571 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.02122, allocations: 20.2 kB / 0.9572 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.02181, allocations: 157.4 kB / 0.9573 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02191, allocations: 75.45 kB / 0.9574 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.02196, allocations: 7.984 kB / 0.9574 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.022, allocations: 16.44 kB / 0.9574 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of SimCode: time 9.42e-07/0.022, allocations: 0 / 0.9574 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.008941/0.03094, allocations: 2.043 MB / 0.9594 GB, free: 2.527 MB / 0.8575 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 -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: 8.265502624213696]