Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001716/0.001716, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001821/0.001821, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.536/1.536, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.059 GB, free: 296 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002141/0.3828, allocations: 0.6764 MB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3846, allocations: 1.203 MB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.3846, allocations: 4 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.3847, allocations: 3.938 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.3848, allocations: 11.92 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.3855, allocations: 211.2 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3857, allocations: 179.7 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3859, allocations: 8 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.386, allocations: 67.88 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3861, allocations: 59.84 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.3861, allocations: 16 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.3862, allocations: 31.98 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3863, allocations: 15.92 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.3863, allocations: 55.83 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.3866, allocations: 147.6 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3866, allocations: 0 / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3866, allocations: 3.938 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3866, allocations: 0 / 1.219 GB, free: 12.58 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.0006687/0.3873, allocations: 438.6 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3873, allocations: 12.02 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.3874, allocations: 16.89 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3876, allocations: 172.3 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3876, allocations: 4.375 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3876, allocations: 12.38 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3878, allocations: 46.23 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3878, allocations: 192 / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.3878, allocations: 7.938 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3878, allocations: 0 / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.3878, allocations: 15.94 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.3884, allocations: 352.8 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.3885, allocations: 38.44 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.3885, allocations: 16.86 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3885, allocations: 0 / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3887, allocations: 83.39 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3887, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002736/0.389, allocations: 109.6 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3891, allocations: 51.41 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3892, allocations: 117.8 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3892, allocations: 33.7 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.3893, allocations: 96.08 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.3893, allocations: 11.91 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3894, allocations: 53.62 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3896, allocations: 322.8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3897, allocations: 63.97 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3899, allocations: 88.25 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3901, allocations: 164 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3901, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004538/0.3906, allocations: 260.9 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.3906, allocations: 67.39 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3906, allocations: 4 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3907, allocations: 0 / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.647e-05/0.3907, allocations: 7.938 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3907, allocations: 320 / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.391, allocations: 60.02 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.3911, allocations: 12.05 kB / 1.221 GB, free: 9.59 MB / 0.9669 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.0001244/0.3912, allocations: 121.8 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3912, allocations: 15.94 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.3913, allocations: 8.375 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3913, allocations: 4 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3913, allocations: 4 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3913, allocations: 3.984 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3914, allocations: 181.5 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3914, allocations: 0 / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/0.3915, allocations: 3.984 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3915, allocations: 0 / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3915, allocations: 11.94 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3915, allocations: 0 / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3915, allocations: 3.938 kB / 1.222 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.3916, allocations: 117 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3917, allocations: 77.11 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3917, allocations: 4 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.156e-05/0.3917, allocations: 4 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3918, allocations: 3.984 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3918, allocations: 4 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.3918, allocations: 95.2 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3918, allocations: 0 / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002331/0.3921, allocations: 32 kB / 1.222 GB, free: 8.809 MB / 0.9669 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.0001893/0.3923, allocations: 111.2 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.3926, allocations: 226.6 kB / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3926, allocations: 0 / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.298e-05/0.3927, allocations: 20 kB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.3929, allocations: 13.95 kB / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.3933, allocations: 170.6 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3936, allocations: 0.6885 MB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.3937, allocations: 4 kB / 1.223 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3937, allocations: 11.44 kB / 1.223 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.3937, allocations: 0 / 1.223 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of Templates: time 0.004945/0.3986, allocations: 1.859 MB / 1.225 GB, free: 5.648 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.649123520590365]