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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00121/0.001211, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00115/0.00115, allocations: 191 kB / 17.29 MB, free: 5.516 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: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.95 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002275/0.3435, allocations: 0.6564 MB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3451, allocations: 1.196 MB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3451, allocations: 0 / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.3452, allocations: 7.922 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.3452, allocations: 11.92 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.3459, allocations: 222 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3461, allocations: 183.7 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.3462, allocations: 15.97 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.3463, allocations: 63.89 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3464, allocations: 63.84 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3465, allocations: 12 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.5e-05/0.3465, allocations: 31.98 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.3466, allocations: 11.98 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.3467, allocations: 55.83 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3469, allocations: 159.6 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3469, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3469, allocations: 3.938 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3469, allocations: 0 / 1.021 GB, free: 7.145 MB / 0.795 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.0005441/0.3474, allocations: 438.6 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3475, allocations: 8.922 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.3476, allocations: 16.83 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3477, allocations: 160.4 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3477, allocations: 12.38 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3477, allocations: 8.375 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3479, allocations: 50.23 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3479, allocations: 192 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3479, allocations: 3.938 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3479, allocations: 4 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.3479, allocations: 11.94 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.3485, allocations: 356.7 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.842e-05/0.3486, allocations: 38.5 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.3486, allocations: 20.84 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.3486, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.3488, allocations: 83.39 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3488, allocations: 0 / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003338/0.3491, allocations: 105.6 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3492, allocations: 55.41 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3493, allocations: 113.8 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3494, allocations: 33.7 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.3494, allocations: 92.12 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3495, allocations: 11.81 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3496, allocations: 53.62 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3497, allocations: 322.8 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3499, allocations: 59.97 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.35, allocations: 92.64 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3503, allocations: 163.6 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3503, allocations: 0 / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004455/0.3507, allocations: 264.8 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.3508, allocations: 71.39 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3508, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3508, allocations: 4.062 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.382e-05/0.3509, allocations: 7.938 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3509, allocations: 4 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.3512, allocations: 52.06 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.3512, allocations: 15.98 kB / 1.024 GB, free: 4.16 MB / 0.795 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.0001244/0.3514, allocations: 126.4 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.3514, allocations: 7.906 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.3514, allocations: 12.36 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3514, allocations: 0 / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3514, allocations: 0 / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3514, allocations: 0 / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.3516, allocations: 181.6 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3516, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.3516, allocations: 7.984 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3516, allocations: 0 / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3516, allocations: 0 / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3516, allocations: 0 / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3516, allocations: 3.938 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3518, allocations: 113 kB / 1.024 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3519, allocations: 89.02 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3519, allocations: 0 / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.3519, allocations: 0 / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.3519, allocations: 11.98 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.352, allocations: 4 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.352, allocations: 95.2 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.352, allocations: 0 / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002286/0.3522, allocations: 28 kB / 1.025 GB, free: 3.395 MB / 0.795 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.0001613/0.3524, allocations: 117.3 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3528, allocations: 246.6 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3528, allocations: 0 / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.3528, allocations: 31.92 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.353, allocations: 15.98 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.3534, allocations: 150.8 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3537, allocations: 0.6926 MB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.3537, allocations: 4 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.3538, allocations: 11.44 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3538, allocations: 0 / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of Templates: time 0.004263/0.358, allocations: 1.841 MB / 1.028 GB, free: 240 kB / 0.795 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 -s gbode -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/jenkins1/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