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.001115/0.001115, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001116/0.001116, allocations: 183 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.338/2.338, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9214/0.9228, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001885/0.9248, allocations: 0.6529 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.9262, allocations: 1.186 MB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.9263, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.9263, allocations: 9.531 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.9264, allocations: 19.19 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.9271, allocations: 212.3 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.9274, allocations: 175.4 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.9275, allocations: 18.05 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.9276, allocations: 68.03 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.9278, allocations: 61.83 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.9278, allocations: 14.44 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.9279, allocations: 32.86 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.9279, allocations: 9.969 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.928, allocations: 60.59 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.9283, allocations: 143.3 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9283, allocations: 1.516 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9283, allocations: 0 / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.9283, allocations: 0 / 1.091 GB, free: 3.91 MB / 0.8575 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.0004858/0.9288, allocations: 433.4 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.9289, allocations: 9.984 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.9289, allocations: 11.97 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.929, allocations: 180.8 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.929, allocations: 5.141 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.9291, allocations: 9.406 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.9292, allocations: 54.3 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9292, allocations: 8.172 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9292, allocations: 5.891 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.9292, allocations: 4 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.9293, allocations: 13.38 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.9297, allocations: 346.7 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.9298, allocations: 46.97 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.9299, allocations: 16.91 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.9299, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.93, allocations: 81.58 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.93, allocations: 0.7812 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000271/0.9303, allocations: 110.7 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.9304, allocations: 54.17 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.9304, allocations: 116.2 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.9305, allocations: 30.11 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.9305, allocations: 94.77 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.9306, allocations: 14.73 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.9307, allocations: 49.98 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.9307, allocations: 322 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.9309, allocations: 55.94 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.9311, allocations: 97.81 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.9313, allocations: 167.1 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9313, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004371/0.9317, allocations: 261.7 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.9318, allocations: 69.08 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9318, allocations: 0.8438 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.9318, allocations: 6.312 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.9318, allocations: 3.203 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.9319, allocations: 2.062 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.9322, allocations: 56.53 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.9323, allocations: 11.53 kB / 1.094 GB, free: 1.621 MB / 0.8575 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.726e-05/0.9324, allocations: 131.5 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.9324, allocations: 3.062 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.9324, allocations: 10.86 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.9324, allocations: 0.6562 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.9324, allocations: 0.7812 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9324, allocations: 0.7031 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.9326, allocations: 182.9 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9326, allocations: 0 / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.9326, allocations: 2.719 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9326, allocations: 0.8125 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.9326, allocations: 5.938 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9326, allocations: 5.359 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9326, allocations: 64 / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.9328, allocations: 115.9 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.9328, allocations: 83.17 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.9328, allocations: 2.109 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.9329, allocations: 1.266 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.9329, allocations: 13.52 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.9329, allocations: 7.016 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.933, allocations: 94.25 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.933, allocations: 0 / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002519/0.9332, allocations: 27.61 kB / 1.095 GB, free: 0.9883 MB / 0.8575 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.0001503/0.9334, allocations: 105.7 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.9338, allocations: 248.8 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9338, allocations: 0 / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.9339, allocations: 32.61 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.9341, allocations: 18.02 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.9345, allocations: 188.7 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.9347, allocations: 0.6853 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.9347, allocations: 15.61 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9347, allocations: 0.5938 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.004228/0.939, allocations: 1.393 MB / 1.097 GB, free: 15.68 MB / 0.8731 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/jenkins1/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