Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001297/0.001297, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.00125, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.629/2.629, allocations: 390.2 MB / 0.6646 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8319, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002055/0.834, allocations: 0.6601 MB / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.8353, allocations: 1.178 MB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.8354, allocations: 1.594 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.8354, allocations: 3.938 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.8355, allocations: 17.14 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.8362, allocations: 217.2 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.8364, allocations: 180.8 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8365, allocations: 9.125 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.8366, allocations: 65.19 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.8367, allocations: 53.06 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.8368, allocations: 14.34 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.8369, allocations: 33.42 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.8369, allocations: 7.891 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.837, allocations: 57.64 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.8372, allocations: 146.6 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8372, allocations: 4 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8372, allocations: 0 / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8372, allocations: 1.469 kB / 0.9522 GB, free: 7.172 MB / 0.7169 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.0005033/0.8377, allocations: 438.6 kB / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8378, allocations: 8.5 kB / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.8378, allocations: 12.56 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.8379, allocations: 174.9 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.838, allocations: 5.75 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.838, allocations: 12.84 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.8381, allocations: 46.78 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8381, allocations: 1.406 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.8382, allocations: 7.922 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.8382, allocations: 1.219 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.8382, allocations: 24.09 kB / 0.9529 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.8387, allocations: 345.9 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.8388, allocations: 45.39 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.8388, allocations: 14.42 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.8388, allocations: 0 / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.839, allocations: 88.48 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.839, allocations: 4 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002688/0.8393, allocations: 96.05 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.8393, allocations: 56.83 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.8394, allocations: 122.7 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.8394, allocations: 29.95 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.8395, allocations: 89.2 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.8395, allocations: 22.88 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.8396, allocations: 47.09 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.8397, allocations: 324.9 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.8398, allocations: 58.3 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.84, allocations: 90.83 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.8401, allocations: 160.6 kB / 0.9544 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8402, allocations: 0 / 0.9544 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003957/0.8406, allocations: 263.5 kB / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.8406, allocations: 73.23 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8406, allocations: 0 / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8406, allocations: 2.344 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.8407, allocations: 6.656 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8407, allocations: 5.531 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.841, allocations: 51.72 kB / 0.9548 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.8411, allocations: 16.64 kB / 0.9548 GB, free: 4.684 MB / 0.7169 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 8.608e-05/0.8412, allocations: 124.3 kB / 0.9549 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.8412, allocations: 7.844 kB / 0.9549 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.8412, allocations: 17.8 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8412, allocations: 3.938 kB / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8412, allocations: 1.438 kB / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8413, allocations: 0 / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.8413, allocations: 172.8 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8413, allocations: 0 / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-06/0.8414, allocations: 6.172 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8414, allocations: 3.938 kB / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.8414, allocations: 1.25 kB / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8414, allocations: 1.125 kB / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8414, allocations: 0 / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.8415, allocations: 119.8 kB / 0.9552 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.8416, allocations: 79.23 kB / 0.9553 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.8416, allocations: 5.281 kB / 0.9553 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.8416, allocations: 0 / 0.9553 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.8416, allocations: 11.55 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.8417, allocations: 3.375 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.8417, allocations: 90.52 kB / 0.9554 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8417, allocations: 0 / 0.9554 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002384/0.8419, allocations: 31.34 kB / 0.9554 GB, free: 4.031 MB / 0.7169 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.0001741/0.8421, allocations: 119.4 kB / 0.9556 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.8424, allocations: 249 kB / 0.9558 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8425, allocations: 0 / 0.9558 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.8425, allocations: 24.28 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.8428, allocations: 22.03 kB / 0.9558 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.8431, allocations: 163.2 kB / 0.956 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.8432, allocations: 0.6961 MB / 0.9567 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.8433, allocations: 8.625 kB / 0.9567 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.8433, allocations: 15.06 kB / 0.9567 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8433, allocations: 0 / 0.9567 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of Templates: time 0.004364/0.8477, allocations: 1.836 MB / 0.9585 GB, free: 1.898 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches