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.001236/0.001236, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.00153/0.00153, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.54/2.54, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8362, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001924/0.8382, allocations: 0.7229 MB / 0.9498 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.8395, allocations: 1.179 MB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.8396, allocations: 0 / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.8396, allocations: 3.938 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.8397, allocations: 14.62 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.8403, allocations: 190.9 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.8405, allocations: 185.7 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.8407, allocations: 9.453 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.194e-05/0.8408, allocations: 67.39 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.8409, allocations: 57.61 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.8409, allocations: 15.75 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.841, allocations: 28.8 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.841, allocations: 10.7 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.8411, allocations: 59.64 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.8413, allocations: 149.9 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8413, allocations: 0 / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8413, allocations: 0 / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8413, allocations: 2 kB / 0.9517 GB, free: 7.086 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.0004881/0.8418, allocations: 441.5 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8419, allocations: 9.531 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.8419, allocations: 7.844 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.842, allocations: 171.2 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.842, allocations: 8.438 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.8421, allocations: 14.55 kB / 0.9524 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.8422, allocations: 50.78 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8422, allocations: 192 / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8422, allocations: 5 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.8422, allocations: 1.438 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.8423, allocations: 23.42 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.8427, allocations: 342.4 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.8428, allocations: 40.73 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.8428, allocations: 18.38 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.8428, allocations: 1.031 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.843, allocations: 84.95 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.843, allocations: 0 / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002514/0.8433, allocations: 94.86 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.8433, allocations: 64.47 kB / 0.953 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.8434, allocations: 126.9 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8434, allocations: 30.05 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.8435, allocations: 88.77 kB / 0.9533 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.8435, allocations: 17.98 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.8436, allocations: 49.19 kB / 0.9533 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.8437, allocations: 320.4 kB / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.8438, allocations: 58.53 kB / 0.9537 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.8439, allocations: 100.5 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.8441, allocations: 156 kB / 0.954 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8441, allocations: 1.281 kB / 0.954 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003959/0.8445, allocations: 262.3 kB / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.8446, allocations: 67.95 kB / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.8446, allocations: 1.531 kB / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8446, allocations: 1.531 kB / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.472e-05/0.8446, allocations: 10.58 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8446, allocations: 1.562 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.845, allocations: 59.72 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.845, allocations: 13.05 kB / 0.9544 GB, free: 4.602 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.381e-05/0.8451, allocations: 124.7 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.8452, allocations: 6.656 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.8452, allocations: 9.688 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8452, allocations: 1.25 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8452, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8452, allocations: 5.328 kB / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.787e-05/0.8453, allocations: 180.4 kB / 0.9547 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.8453, allocations: 4 kB / 0.9547 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.8453, allocations: 9.125 kB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8453, allocations: 1.281 kB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8454, allocations: 9.062 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8454, allocations: 0 / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8454, allocations: 1.156 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.8455, allocations: 111.9 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.8455, allocations: 87.53 kB / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.8456, allocations: 0 / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.8456, allocations: 0.8125 kB / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.8456, allocations: 11.23 kB / 0.9549 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.8456, allocations: 6.375 kB / 0.9549 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.8457, allocations: 95.89 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8457, allocations: 0 / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002407/0.8459, allocations: 26.66 kB / 0.955 GB, free: 3.938 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.00015/0.8461, allocations: 102.7 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.8464, allocations: 250 kB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8464, allocations: 0 / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.8465, allocations: 28.23 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.8467, allocations: 18.62 kB / 0.9554 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.8471, allocations: 175.9 kB / 0.9556 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.8472, allocations: 0.6868 MB / 0.9562 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.8473, allocations: 12.45 kB / 0.9562 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.8473, allocations: 10.53 kB / 0.9563 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.8473, allocations: 0.9062 kB / 0.9563 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of Templates: time 0.004828/0.8521, allocations: 1.836 MB / 0.958 GB, free: 1.809 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