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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002001/0.002001, allocations: 71.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9958/0.9978, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002097/0.9999, allocations: 0.6433 MB / 1.275 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001867/1.002, allocations: 1.201 MB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/1.002, allocations: 0 / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/1.002, allocations: 3.938 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/1.002, allocations: 15.88 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/1.003, allocations: 223.5 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/1.003, allocations: 175.7 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/1.003, allocations: 8 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/1.003, allocations: 63.95 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/1.003, allocations: 63.78 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/1.003, allocations: 12 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/1.003, allocations: 35.92 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/1.003, allocations: 7.984 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.627e-05/1.003, allocations: 59.81 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/1.004, allocations: 150.3 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.004, allocations: 4 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/1.004, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.004, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 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.0006391/1.004, allocations: 438.7 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.004, allocations: 8.031 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/1.004, allocations: 20.83 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.005, allocations: 172.3 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.005, allocations: 4.375 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/1.005, allocations: 8.375 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.005, allocations: 58.17 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.005, allocations: 192 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/1.005, allocations: 7.938 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.005, allocations: 0 / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/1.005, allocations: 12 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/1.005, allocations: 348.7 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.006, allocations: 42.44 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/1.006, allocations: 16.86 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/1.006, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/1.006, allocations: 84.98 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/1.006, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002829/1.006, allocations: 109.5 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.006, allocations: 55.41 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.006, allocations: 113.8 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.006, allocations: 33.7 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/1.006, allocations: 96.08 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/1.006, allocations: 15.91 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.007, allocations: 49.69 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.007, allocations: 318.8 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/1.007, allocations: 59.97 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/1.007, allocations: 100.2 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/1.007, allocations: 160 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.007, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00047/1.008, allocations: 268.9 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/1.008, allocations: 67.39 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/1.008, allocations: 3.938 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.008, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.496e-05/1.008, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.008, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/1.008, allocations: 55.83 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/1.008, allocations: 20.05 kB / 1.279 GB, free: 14.73 MB / 0.9825 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.0001368/1.008, allocations: 128.9 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/1.008, allocations: 11.94 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/1.008, allocations: 4.375 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.008, allocations: 4 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.008, allocations: 0 / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/1.008, allocations: 3.938 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/1.009, allocations: 181.6 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.009, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/1.009, allocations: 8.062 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.009, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/1.009, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.009, allocations: 4 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.009, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/1.009, allocations: 113 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/1.009, allocations: 77.11 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/1.009, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/1.009, allocations: 4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/1.009, allocations: 11.98 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/1.009, allocations: 4 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.904e-05/1.009, allocations: 99.14 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.009, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002358/1.009, allocations: 28 kB / 1.28 GB, free: 13.97 MB / 0.9825 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.0002162/1.01, allocations: 111.2 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000379/1.01, allocations: 222.7 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.01, allocations: 0 / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/1.01, allocations: 16 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/1.01, allocations: 22.31 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/1.011, allocations: 178.5 kB / 1.28 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/1.011, allocations: 0.6926 MB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.547e-05/1.011, allocations: 4 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/1.011, allocations: 7.438 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/1.011, allocations: 4 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.005021/1.016, allocations: 1.854 MB / 1.283 GB, free: 10.81 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.058143466245383]