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.007396/0.007395, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00138/0.00138, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 2.926/2.926, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3985, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002104/0.4007, allocations: 0.6465 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.4024, allocations: 1.195 MB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.4025, allocations: 0 / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.4025, allocations: 3.938 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.002e-05/0.4026, allocations: 7.922 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.4034, allocations: 226.9 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.4037, allocations: 175.8 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4038, allocations: 11.98 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.4039, allocations: 67.83 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.4042, allocations: 71.83 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.4042, allocations: 15.94 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4043, allocations: 27.98 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.4044, allocations: 4 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4045, allocations: 67.81 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.4048, allocations: 147.6 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.4048, allocations: 0 / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4048, allocations: 3.938 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.4048, allocations: 0 / 1.169 GB, free: 4.129 MB / 0.92 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.0007306/0.4056, allocations: 438.7 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4056, allocations: 8.031 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.4057, allocations: 12.89 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.4059, allocations: 168.3 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.4059, allocations: 24.36 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.406, allocations: 8.375 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4061, allocations: 42.25 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4062, allocations: 192 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4062, allocations: 3.938 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4062, allocations: 7.938 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.4062, allocations: 15.98 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.4069, allocations: 352.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.407, allocations: 38.52 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.407, allocations: 16.94 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.407, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.4073, allocations: 79.36 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.4073, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000276/0.4075, allocations: 113.5 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.4076, allocations: 55.41 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4077, allocations: 117.8 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.4078, allocations: 29.7 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.4079, allocations: 96.09 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.4079, allocations: 15.84 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.408, allocations: 53.67 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4082, allocations: 318.8 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.4083, allocations: 59.97 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4085, allocations: 104.6 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4087, allocations: 159.6 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4087, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004228/0.4091, allocations: 252.9 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.4092, allocations: 71.39 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4092, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4093, allocations: 4 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.644e-05/0.4093, allocations: 7.984 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4093, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.4096, allocations: 56.02 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4097, allocations: 11.98 kB / 1.172 GB, free: 1.133 MB / 0.92 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.0001097/0.4098, allocations: 125.7 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.4098, allocations: 7.953 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.4099, allocations: 8.375 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.4099, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4099, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4099, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.41, allocations: 185.6 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4101, allocations: 3.938 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.4101, allocations: 8 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4101, allocations: 64 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4101, allocations: 4 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4101, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4101, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.4103, allocations: 116.9 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.4103, allocations: 89.05 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4103, allocations: 3.984 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.4104, allocations: 0 / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.4104, allocations: 4 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.4104, allocations: 15.97 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.4105, allocations: 91.22 kB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4105, allocations: 0 / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002262/0.4107, allocations: 24 kB / 1.173 GB, free: 368 kB / 0.92 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.0001747/0.4109, allocations: 111.2 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.4113, allocations: 254.6 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4113, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.4114, allocations: 31.92 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.4116, allocations: 15.69 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.412, allocations: 154.8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4123, allocations: 0.6885 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.4123, allocations: 4 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.4123, allocations: 15.42 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.4123, allocations: 0 / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of Templates: time 0.004939/0.4173, allocations: 1.841 MB / 1.176 GB, free: 13.19 MB / 0.9356 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=480 -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