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.001846/0.001846, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001975/0.001975, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.682/1.682, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.999/2.999, allocations: 359 MB / 0.6048 GB, free: 10.92 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 1.693e-06/1.693e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.899e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001909/0.001938, allocations: 0.659 MB / 0.787 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.003817, allocations: 1.215 MB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.003861, allocations: 1.25 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.003883, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.003975, allocations: 19.84 kB / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.004633, allocations: 210 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.00492, allocations: 175.6 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.005012, allocations: 8.625 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005179, allocations: 91.92 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.00556, allocations: 53.27 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.005603, allocations: 12 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.005693, allocations: 31.97 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.005717, allocations: 7.984 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.005815, allocations: 57.02 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.006106, allocations: 175.6 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.006111, allocations: 3.984 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.006113, allocations: 5 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006117, allocations: 0 / 0.789 GB, free: 10.05 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.000662/0.006779, allocations: 459.6 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.006818, allocations: 9.25 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.006898, allocations: 16.89 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.007037, allocations: 124.5 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.007058, allocations: 9.781 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.00709, allocations: 8.375 kB / 0.7896 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.007208, allocations: 46.23 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.007217, allocations: 192 / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.007226, allocations: 7.219 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.00723, allocations: 384 / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.00729, allocations: 15.94 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.007843, allocations: 327.7 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.007949, allocations: 50.97 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.007986, allocations: 15.69 kB / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.007998, allocations: 0 / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.008165, allocations: 93.77 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008166, allocations: 1.656 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003117/0.008478, allocations: 113.8 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.008535, allocations: 55.39 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.008701, allocations: 185.9 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.008738, allocations: 30.89 kB / 0.7905 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.00885, allocations: 146.8 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.008872, allocations: 15.84 kB / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.008991, allocations: 59.34 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002786/0.00927, allocations: 0.4939 MB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.009485, allocations: 135.4 kB / 0.7914 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.009745, allocations: 193.7 kB / 0.7915 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.009994, allocations: 175.6 kB / 0.7917 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.433e-06/0.01, allocations: 4 kB / 0.7917 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006008/0.0106, allocations: 365.5 kB / 0.7921 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.01067, allocations: 63.39 kB / 0.7921 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01068, allocations: 4.719 kB / 0.7921 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01069, allocations: 0 / 0.7921 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/0.01072, allocations: 12.47 kB / 0.7921 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01072, allocations: 1.312 kB / 0.7921 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.01101, allocations: 40.48 kB / 0.7922 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.01104, allocations: 11.94 kB / 0.7922 GB, free: 6.5 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.0001615/0.0112, allocations: 169.9 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.01123, allocations: 15.89 kB / 0.7924 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.01126, allocations: 9.594 kB / 0.7924 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01126, allocations: 0 / 0.7924 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01126, allocations: 0 / 0.7924 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01127, allocations: 0 / 0.7924 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.01143, allocations: 141.8 kB / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01143, allocations: 0 / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.01144, allocations: 0 / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01144, allocations: 5.75 kB / 0.7925 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01145, allocations: 3.938 kB / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01145, allocations: 0 / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01145, allocations: 0 / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.01164, allocations: 124.3 kB / 0.7926 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.01166, allocations: 12.72 kB / 0.7927 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.01168, allocations: 3.938 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.0117, allocations: 9.922 kB / 0.7927 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.01175, allocations: 0 / 0.7927 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01176, allocations: 4 kB / 0.7927 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.475e-05/0.01185, allocations: 139.2 kB / 0.7928 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01185, allocations: 0 / 0.7928 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002575/0.01211, allocations: 32.73 kB / 0.7928 GB, free: 5.785 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.000183/0.01229, allocations: 102.7 kB / 0.7929 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.01278, allocations: 333.8 kB / 0.7933 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01278, allocations: 0 / 0.7933 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.01285, allocations: 43.59 kB / 0.7933 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.0131, allocations: 22.8 kB / 0.7933 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.01347, allocations: 163.4 kB / 0.7935 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.01354, allocations: 69.53 kB / 0.7935 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.01357, allocations: 7.984 kB / 0.7935 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.0136, allocations: 16.44 kB / 0.7936 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.0136, allocations: 0 / 0.7936 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.00588/0.01948, allocations: 2.057 MB / 0.7956 GB, free: 2.961 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] 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.179215673008002]