Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00139/0.00139, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002083/0.002083, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.519/3.519, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.697e-06/3.697e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.138e-05/4.508e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002254/0.002299, allocations: 0.652 MB / 0.8782 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.004397, allocations: 1.213 MB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.004453, allocations: 0.5625 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.004489, allocations: 4.594 kB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.004583, allocations: 13.36 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.005378, allocations: 211.4 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.005738, allocations: 167.7 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.005856, allocations: 15.97 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.006082, allocations: 91.88 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.00624, allocations: 47.91 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.006285, allocations: 22 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.006375, allocations: 23.98 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.006408, allocations: 11.98 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.006508, allocations: 47.95 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.006849, allocations: 183.5 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.006855, allocations: 4 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006856, allocations: 0.9375 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.006862, allocations: 0 / 0.8802 GB, free: 3.793 MB / 0.8386 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.0006889/0.007551, allocations: 358.7 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.007601, allocations: 12.03 kB / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.007684, allocations: 8.938 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.007828, allocations: 118.7 kB / 0.8807 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.007851, allocations: 4.375 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.007891, allocations: 16.36 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.008038, allocations: 47.31 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.008049, allocations: 4.172 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.00806, allocations: 384 / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.008065, allocations: 5.375 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.008116, allocations: 19.92 kB / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.008642, allocations: 278.1 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.008734, allocations: 26.58 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.008774, allocations: 16.94 kB / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.008788, allocations: 0 / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.009027, allocations: 87.8 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.00903, allocations: 1.906 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003187/0.009348, allocations: 105.6 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.009403, allocations: 51.41 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.009537, allocations: 125.8 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.009579, allocations: 33.7 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.009665, allocations: 89.48 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.009692, allocations: 19.83 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.009804, allocations: 49.67 kB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.009996, allocations: 318.8 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.01031, allocations: 120.2 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.01054, allocations: 155.6 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.01078, allocations: 161.2 kB / 0.8824 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01078, allocations: 2.344 kB / 0.8824 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005791/0.01136, allocations: 336.2 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.01143, allocations: 67.39 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.01144, allocations: 8 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01146, allocations: 2.188 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.01149, allocations: 4 kB / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.0115, allocations: 7.922 kB / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.01187, allocations: 56.61 kB / 0.8828 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.01191, allocations: 8 kB / 0.8828 GB, free: 0.8477 MB / 0.8386 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.0001319/0.01204, allocations: 125.8 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.01207, allocations: 15.94 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.0121, allocations: 8.562 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.0121, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.0121, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01211, allocations: 4 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.01225, allocations: 121.2 kB / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01225, allocations: 3.938 kB / 0.8831 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.01227, allocations: 4 kB / 0.8831 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.01227, allocations: 3.938 kB / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01228, allocations: 0 / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01228, allocations: 0 / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01228, allocations: 0 / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.01248, allocations: 121.4 kB / 0.8832 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.01249, allocations: 15.89 kB / 0.8832 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.01251, allocations: 3.938 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.01254, allocations: 7.984 kB / 0.8833 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.01258, allocations: 4 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01259, allocations: 0 / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.033e-05/0.01267, allocations: 91.27 kB / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01267, allocations: 0 / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002545/0.01293, allocations: 32 kB / 0.8834 GB, free: 248 kB / 0.8386 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.0001943/0.01312, allocations: 103.2 kB / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.01358, allocations: 278.1 kB / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01358, allocations: 0 / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.01366, allocations: 32 kB / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01393, allocations: 14.8 kB / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.01441, allocations: 165.1 kB / 0.8839 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.01449, allocations: 75.58 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.01453, allocations: 7.859 kB / 0.884 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.01456, allocations: 12.5 kB / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01456, allocations: 0 / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.00587/0.02043, allocations: 2.066 MB / 0.8861 GB, free: 13.47 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.746587592992]