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.001853/0.001853, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002454/0.002454, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.494/1.494, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 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.889/2.889, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 3.256e-06/3.256e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.814e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.003235/0.003273, allocations: 0.656 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003497/0.00677, allocations: 1.215 MB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.006833, allocations: 0 / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.006874, allocations: 0 / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.006998, allocations: 12.78 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.008275, allocations: 212.8 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.00878, allocations: 176.7 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.008897, allocations: 7.984 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.009184, allocations: 91.92 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.00943, allocations: 57.41 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.009505, allocations: 16 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.009642, allocations: 23.98 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.009678, allocations: 8 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.00984, allocations: 57.94 kB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.01033, allocations: 179.6 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.01034, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01034, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.01034, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.7448 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.0009319/0.01128, allocations: 353.6 kB / 0.7894 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.01133, allocations: 14.19 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.01145, allocations: 20.83 kB / 0.7894 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.01164, allocations: 113.7 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.01168, allocations: 4.375 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.01173, allocations: 8.375 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.01192, allocations: 55.8 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01193, allocations: 192 / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.01195, allocations: 384 / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.01195, allocations: 384 / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.01203, allocations: 19.92 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.01285, allocations: 273.4 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.01299, allocations: 30.52 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.01306, allocations: 17.53 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.01307, allocations: 1.281 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.01338, allocations: 83.31 kB / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.01338, allocations: 0 / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004777/0.01386, allocations: 116.2 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.01393, allocations: 51.41 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.01413, allocations: 121.8 kB / 0.7903 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.0142, allocations: 33.7 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.01433, allocations: 88.09 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.01438, allocations: 19.84 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.01456, allocations: 45.69 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002804/0.01484, allocations: 323.5 kB / 0.7908 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.0152, allocations: 119.4 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.01562, allocations: 156.1 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.01607, allocations: 161.3 kB / 0.7912 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01608, allocations: 0.6562 kB / 0.7912 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001092/0.01717, allocations: 341.8 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.01729, allocations: 67.39 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.01731, allocations: 5.156 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.01734, allocations: 0 / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.629e-05/0.01737, allocations: 4 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01738, allocations: 1.375 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.01805, allocations: 53.69 kB / 0.7916 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.01811, allocations: 11.98 kB / 0.7916 GB, free: 7.168 MB / 0.7448 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.000205/0.01831, allocations: 129.7 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.01835, allocations: 16.75 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.0184, allocations: 8.438 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.0184, allocations: 1.562 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.01841, allocations: 4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01841, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.01865, allocations: 113.4 kB / 0.7919 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.01865, allocations: 5.188 kB / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.01869, allocations: 7.984 kB / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.0187, allocations: 3.938 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01871, allocations: 0 / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01871, allocations: 3.156 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01871, allocations: 0 / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.01906, allocations: 121 kB / 0.792 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.01908, allocations: 7.938 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.01911, allocations: 3.938 kB / 0.792 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.01915, allocations: 0 / 0.792 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.01922, allocations: 11.98 kB / 0.792 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.01924, allocations: 4 kB / 0.7921 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001239/0.01936, allocations: 95.7 kB / 0.7921 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01936, allocations: 0 / 0.7921 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004865/0.01985, allocations: 29.89 kB / 0.7922 GB, free: 6.566 MB / 0.7448 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.0002621/0.02011, allocations: 111.2 kB / 0.7923 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007548/0.02086, allocations: 274.9 kB / 0.7925 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02087, allocations: 0 / 0.7925 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.02096, allocations: 24.77 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.02135, allocations: 17.27 kB / 0.7926 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.02191, allocations: 161.1 kB / 0.7927 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02203, allocations: 72.17 kB / 0.7928 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.02206, allocations: 6.812 kB / 0.7928 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.0221, allocations: 12.5 kB / 0.7928 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.0221, allocations: 0 / 0.7928 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.009406/0.03151, allocations: 2.054 MB / 0.7948 GB, free: 3.824 MB / 0.7448 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: 7.962508681928739]