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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001156/0.001156, allocations: 103.5 kB / 16.35 MB, free: 6.289 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.001629/0.00163, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.25 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002591/0.2749, allocations: 0.655 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2771, allocations: 1.193 MB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2773, allocations: 0 / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.2773, allocations: 3.938 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.2775, allocations: 11.91 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.279, allocations: 215.2 kB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.2794, allocations: 187.7 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2795, allocations: 15.97 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.2797, allocations: 63.95 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2799, allocations: 63.78 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.28, allocations: 20 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2801, allocations: 27.98 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.2801, allocations: 8 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2802, allocations: 59.81 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.2805, allocations: 143.7 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2806, allocations: 0 / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.679e-06/0.2806, allocations: 7.984 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2806, allocations: 0 / 0.9537 GB, free: 5.359 MB / 0.7325 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.0007547/0.2813, allocations: 438.6 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2814, allocations: 11.97 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.2815, allocations: 16.84 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2817, allocations: 168.4 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2817, allocations: 4.375 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.2817, allocations: 16.31 kB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2819, allocations: 50.25 kB / 0.9544 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2819, allocations: 4.172 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2819, allocations: 3.938 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2819, allocations: 0 / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.282, allocations: 12 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.2828, allocations: 364.6 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.283, allocations: 34.5 kB / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.283, allocations: 12.86 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.283, allocations: 4 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.2833, allocations: 79.41 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2833, allocations: 4 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003077/0.2836, allocations: 105.5 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2837, allocations: 55.41 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2838, allocations: 113.8 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.2839, allocations: 33.7 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.284, allocations: 88.14 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.284, allocations: 15.8 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2841, allocations: 49.69 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2843, allocations: 322.8 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.2844, allocations: 67.89 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2846, allocations: 84.27 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.2848, allocations: 160.1 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2848, allocations: 4 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004568/0.2853, allocations: 264.7 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.2854, allocations: 67.39 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2854, allocations: 4 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2854, allocations: 0 / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.483e-05/0.2854, allocations: 4 kB / 0.9563 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2855, allocations: 4.375 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.2858, allocations: 59.88 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.2859, allocations: 11.98 kB / 0.9563 GB, free: 2.371 MB / 0.7325 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.0001535/0.2861, allocations: 129.7 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.2861, allocations: 3.906 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.2861, allocations: 16.36 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2861, allocations: 7.984 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2862, allocations: 0 / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2862, allocations: 0 / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2864, allocations: 177.6 kB / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2865, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.2865, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2865, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2865, allocations: 7.984 kB / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2865, allocations: 3.984 kB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2865, allocations: 4.062 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2867, allocations: 120.9 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.2868, allocations: 77.11 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2868, allocations: 4 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.2868, allocations: 4 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.2869, allocations: 7.984 kB / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2869, allocations: 0 / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.287, allocations: 91.27 kB / 0.957 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.287, allocations: 0 / 0.957 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002973/0.2873, allocations: 40.19 kB / 0.957 GB, free: 1.594 MB / 0.7325 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.0002224/0.2875, allocations: 99.25 kB / 0.9571 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.2879, allocations: 250.6 kB / 0.9573 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2879, allocations: 3.938 kB / 0.9573 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.288, allocations: 31.92 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2883, allocations: 24.17 kB / 0.9574 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.2886, allocations: 154.8 kB / 0.9575 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2889, allocations: 0.6844 MB / 0.9582 GB, free: 272 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.2889, allocations: 11.98 kB / 0.9582 GB, free: 260 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.289, allocations: 7.438 kB / 0.9582 GB, free: 252 kB / 0.7325 GB Notification: Performance of SimCode: time 1.914e-06/0.289, allocations: 0 / 0.9582 GB, free: 252 kB / 0.7325 GB Notification: Performance of Templates: time 0.005503/0.2945, allocations: 1.845 MB / 0.96 GB, free: 14.42 MB / 0.7481 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 -s gbode -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