Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008694/0.0008694, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0009606/0.0009606, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9304/0.9304, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.818/1.818, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.297e-06/3.297e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.478e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001924/0.001959, allocations: 0.6414 MB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.0036, allocations: 1.217 MB / 0.984 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.003659, allocations: 4 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.003694, allocations: 3.938 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.003774, allocations: 11.86 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.004465, allocations: 216.9 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.004709, allocations: 171.7 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004818, allocations: 8 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.004962, allocations: 99.86 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.005096, allocations: 47.91 kB / 0.9846 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.005134, allocations: 19.94 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.005218, allocations: 23.98 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.005244, allocations: 8 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.005321, allocations: 51.94 kB / 0.9847 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.005593, allocations: 179.6 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.005598, allocations: 0 / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005599, allocations: 0 / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005604, allocations: 3.938 kB / 0.9848 GB, free: 15.38 MB / 0.948 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.0005389/0.006143, allocations: 361.5 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.00619, allocations: 16.03 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.006256, allocations: 12.89 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.006352, allocations: 109.7 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.006372, allocations: 12.36 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.0064, allocations: 8.375 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.006526, allocations: 46.25 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006535, allocations: 192 / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.006549, allocations: 8.359 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006555, allocations: 4.312 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.006599, allocations: 19.92 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.007051, allocations: 276.4 kB / 0.9857 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.007136, allocations: 26.67 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.007166, allocations: 20.84 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.007178, allocations: 0 / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.007385, allocations: 83.3 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.007387, allocations: 0 / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000265/0.007652, allocations: 105.6 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.007693, allocations: 51.41 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.007787, allocations: 121.8 kB / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.007817, allocations: 33.7 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.007876, allocations: 92.09 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.0079, allocations: 27.81 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.00799, allocations: 45.69 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.008094, allocations: 318.8 kB / 0.9866 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.00854, allocations: 119.4 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.008719, allocations: 160 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.008907, allocations: 159.6 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.008911, allocations: 4 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004469/0.009357, allocations: 328.2 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.009414, allocations: 67.39 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.009422, allocations: 4 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.009438, allocations: 0 / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/0.009463, allocations: 4 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.00947, allocations: 3.984 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.009754, allocations: 56.02 kB / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.009782, allocations: 8 kB / 0.9874 GB, free: 12.43 MB / 0.948 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.0001005/0.009883, allocations: 129.8 kB / 0.9875 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.009897, allocations: 11.89 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.009927, allocations: 4.438 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.00993, allocations: 4 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.009935, allocations: 0 / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.009939, allocations: 0 / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.01004, allocations: 121.4 kB / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01005, allocations: 11.92 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.01006, allocations: 0 / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01006, allocations: 3.938 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.01007, allocations: 0 / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01007, allocations: 4 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01007, allocations: 0 / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.01023, allocations: 117 kB / 0.9878 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.01024, allocations: 3.938 kB / 0.9878 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.01025, allocations: 7.938 kB / 0.9878 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.01028, allocations: 4 kB / 0.9878 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.01032, allocations: 11.98 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01032, allocations: 0 / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.01037, allocations: 95.2 kB / 0.9879 GB, free: 11.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01037, allocations: 0 / 0.9879 GB, free: 11.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002621/0.01063, allocations: 32 kB / 0.988 GB, free: 11.82 MB / 0.948 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.0001618/0.0108, allocations: 103.7 kB / 0.9881 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.01115, allocations: 274.5 kB / 0.9883 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01115, allocations: 0 / 0.9883 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.0112, allocations: 36.16 kB / 0.9884 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.01145, allocations: 15.98 kB / 0.9884 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.01184, allocations: 187.2 kB / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.01189, allocations: 71.58 kB / 0.9886 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.01192, allocations: 12.5 kB / 0.9886 GB, free: 11.04 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.01192, allocations: 0 / 0.9886 GB, free: 11.04 MB / 0.948 GB Notification: Performance of Templates: time 0.003067/0.01499, allocations: 1.413 MB / 0.99 GB, free: 9.641 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.751505416817963]