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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001545/0.001545, allocations: 101.6 kB / 16.27 MB, free: 6.414 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.001817/0.001817, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.711 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 68.39 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001958/0.2703, allocations: 0.6639 MB / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2718, allocations: 1.188 MB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.2719, allocations: 0 / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.2719, allocations: 0 / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.272, allocations: 19.84 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.2727, allocations: 209.2 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2729, allocations: 191.7 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.273, allocations: 8 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2731, allocations: 67.88 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2733, allocations: 47.88 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.2733, allocations: 19.94 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2734, allocations: 31.98 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.2734, allocations: 11.91 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.2735, allocations: 51.91 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.2737, allocations: 159.6 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2738, allocations: 0 / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2738, allocations: 0 / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2738, allocations: 0 / 1.021 GB, free: 7.961 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.0005038/0.2743, allocations: 442.9 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2743, allocations: 12.92 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.2744, allocations: 12.84 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.2745, allocations: 160.4 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2745, allocations: 4.375 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.2746, allocations: 12.38 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2747, allocations: 58.17 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2747, allocations: 192 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2747, allocations: 3.938 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2747, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.2748, allocations: 12 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.2752, allocations: 352.7 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.2753, allocations: 46.44 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.2754, allocations: 16.86 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.2754, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.2755, allocations: 87.38 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2755, allocations: 0 / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002459/0.2758, allocations: 105.5 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2758, allocations: 51.41 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.2759, allocations: 117.8 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2759, allocations: 29.7 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.276, allocations: 96.12 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.276, allocations: 15.8 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.2761, allocations: 49.69 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2762, allocations: 322.8 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2764, allocations: 59.97 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2765, allocations: 101.6 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2767, allocations: 151.6 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2767, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000414/0.2772, allocations: 268.7 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.2772, allocations: 74.36 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2772, allocations: 3.938 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2773, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.2773, allocations: 4 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2773, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.2777, allocations: 59.98 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.2777, allocations: 19.98 kB / 1.023 GB, free: 4.965 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.0001024/0.2778, allocations: 125.7 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.2779, allocations: 7.906 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.2779, allocations: 4.375 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2779, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2779, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2779, allocations: 3.938 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.278, allocations: 181.6 kB / 1.023 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.278, allocations: 4 kB / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.2781, allocations: 4 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2781, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.2781, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2781, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2781, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.2782, allocations: 121.2 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.2783, allocations: 85.02 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2783, allocations: 7.984 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.2783, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2784, allocations: 11.98 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.2784, allocations: 7.984 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.2784, allocations: 87.22 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2784, allocations: 4 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002414/0.2787, allocations: 24 kB / 1.024 GB, free: 4.203 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.0001509/0.2789, allocations: 107.2 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.2792, allocations: 254.6 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2792, allocations: 0 / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/0.2793, allocations: 23.98 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2795, allocations: 30.3 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.2798, allocations: 192.7 kB / 1.024 GB, free: 3.543 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2801, allocations: 0.6807 MB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.2801, allocations: 11.44 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2801, allocations: 0 / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of Templates: time 0.002982/0.2831, allocations: 1.379 MB / 1.026 GB, free: 1.457 MB / 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 -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