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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.001641, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.108/3.108, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8643, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002416/0.8668, allocations: 0.732 MB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.8691, allocations: 1.202 MB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.8692, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.8693, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.8694, allocations: 15.8 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.8702, allocations: 199.3 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.8705, allocations: 151.7 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.8706, allocations: 11.98 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8707, allocations: 63.88 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.8709, allocations: 39.88 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.8709, allocations: 11.98 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.8711, allocations: 23.98 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.8711, allocations: 15.94 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.8712, allocations: 51.83 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.8715, allocations: 143.6 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8716, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8716, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8716, allocations: 4 kB / 1.019 GB, free: 140 kB / 0.7637 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.0007788/0.8724, allocations: 432.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.8724, allocations: 8.031 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.8725, allocations: 16.78 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.8727, allocations: 172.3 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.8728, allocations: 8.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.8728, allocations: 16.36 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.873, allocations: 46.25 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.873, allocations: 192 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.873, allocations: 3.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.873, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.8731, allocations: 15.98 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/0.8739, allocations: 356.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.874, allocations: 38.52 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.8741, allocations: 16.94 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.8741, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.8744, allocations: 83.3 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.8744, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002923/0.8747, allocations: 101.8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.8748, allocations: 59.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.8749, allocations: 117.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.875, allocations: 29.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.8751, allocations: 88.14 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.8751, allocations: 15.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.8752, allocations: 50.06 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.8754, allocations: 322.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.8756, allocations: 71.84 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.8758, allocations: 99.81 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.876, allocations: 159.6 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.876, allocations: 4 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004847/0.8765, allocations: 256.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.8766, allocations: 67.39 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8766, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8767, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.533e-05/0.8767, allocations: 7.984 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.8767, allocations: 8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.8771, allocations: 60 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.8771, allocations: 11.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 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.0001387/0.8773, allocations: 122.3 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.8773, allocations: 7.906 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.8773, allocations: 8.375 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8773, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.8774, allocations: 7.984 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8774, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.8775, allocations: 173.6 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8775, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-06/0.8776, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8776, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8776, allocations: 11.98 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8776, allocations: 96 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8776, allocations: 3.938 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.8778, allocations: 120.9 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.8778, allocations: 85.02 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.8779, allocations: 0 / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.8779, allocations: 4 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.8779, allocations: 3.984 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.8779, allocations: 4 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.878, allocations: 91.27 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.878, allocations: 0 / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002476/0.8783, allocations: 36 kB / 1.023 GB, free: 12.38 MB / 0.7794 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.0001883/0.8785, allocations: 103.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.8789, allocations: 250.6 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8789, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.879, allocations: 31.92 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.8792, allocations: 15.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.8796, allocations: 168.7 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.8801, allocations: 0.6848 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.8802, allocations: 11.97 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.8802, allocations: 11.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.8802, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.005133/0.8853, allocations: 1.762 MB / 1.025 GB, free: 9.277 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (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) 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) Reference file matches