Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001086/0.001087, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009068/0.009068, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.619/1.619, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.007/3.007, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 15.53 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4318, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001484/0.4333, allocations: 385.7 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.4361, allocations: 1.209 MB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.4362, allocations: 4 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.4362, allocations: 3.938 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.4364, allocations: 11.91 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.4373, allocations: 198.5 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.4376, allocations: 151.7 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.4377, allocations: 16 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.4379, allocations: 55.88 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.4381, allocations: 47.88 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.4381, allocations: 8 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.4383, allocations: 23.92 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.4383, allocations: 4 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.4384, allocations: 81.52 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.4387, allocations: 139.6 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4387, allocations: 8 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.627e-06/0.4388, allocations: 3.938 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4388, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 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.00077/0.4395, allocations: 407 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.4396, allocations: 12.03 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.4397, allocations: 8.938 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.4399, allocations: 168.3 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.44, allocations: 8.312 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.44, allocations: 12.38 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.4402, allocations: 54.23 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4402, allocations: 192 / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4403, allocations: 7.875 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4403, allocations: 0 / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.4403, allocations: 15.98 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.441, allocations: 348.8 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.4412, allocations: 42.5 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.4412, allocations: 20.94 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4412, allocations: 3.938 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.4414, allocations: 83.27 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.4415, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003303/0.4418, allocations: 101.7 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4419, allocations: 51.41 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.442, allocations: 129.7 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.4421, allocations: 29.7 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.4422, allocations: 92.14 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.4422, allocations: 11.81 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.4423, allocations: 25.7 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4424, allocations: 322.8 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4426, allocations: 55.95 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4428, allocations: 96.27 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.443, allocations: 156.1 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.443, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004676/0.4435, allocations: 276.8 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.4436, allocations: 67.39 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4436, allocations: 4.062 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4436, allocations: 7.938 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.044e-05/0.4436, allocations: 3.938 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4437, allocations: 4 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.4441, allocations: 68.03 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.4442, allocations: 15.98 kB / 1.064 GB, free: 120 kB / 0.8106 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.0001677/0.4444, allocations: 131.3 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.4444, allocations: 15.84 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.4444, allocations: 4.375 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4444, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4444, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4444, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.4446, allocations: 177.6 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4446, allocations: 3.984 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.4446, allocations: 7.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4446, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4447, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4447, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4447, allocations: 4 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4449, allocations: 113 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4449, allocations: 81.11 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4449, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.445, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.445, allocations: 11.98 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.445, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.4451, allocations: 95.27 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4451, allocations: 288 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002606/0.4454, allocations: 32 kB / 1.064 GB, free: 15.36 MB / 0.8262 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.0002533/0.4456, allocations: 118 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.4461, allocations: 246.6 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4461, allocations: 4 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.4461, allocations: 24 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4464, allocations: 16.23 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.4468, allocations: 175.2 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4471, allocations: 0.6848 MB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.4471, allocations: 8 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.4472, allocations: 19.36 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4472, allocations: 0 / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.005027/0.4522, allocations: 1.748 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches