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.001333/0.001333, allocations: 107.8 kB / 16.27 MB, free: 6.41 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.001302/0.001302, allocations: 190.3 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.586/2.586, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 64.5 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001982/0.3179, allocations: 0.66 MB / 1.019 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3195, allocations: 1.192 MB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.3196, allocations: 0 / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.3197, allocations: 3.938 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.3198, allocations: 11.92 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.3204, allocations: 218.4 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.3206, allocations: 183.7 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.3207, allocations: 15.98 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.3208, allocations: 63.89 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.3209, allocations: 51.86 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.321, allocations: 16 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.3211, allocations: 27.98 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.3211, allocations: 11.98 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.3212, allocations: 55.84 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3214, allocations: 147.6 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3214, allocations: 0 / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3214, allocations: 3.938 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3214, allocations: 0 / 1.021 GB, free: 7.996 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.0005646/0.322, allocations: 442.9 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.322, allocations: 8.922 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.3221, allocations: 16.84 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3223, allocations: 168.3 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3223, allocations: 8.375 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.3223, allocations: 8.375 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3224, allocations: 50.23 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3224, allocations: 192 / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.3225, allocations: 7.938 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.3225, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.3225, allocations: 15.98 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.323, allocations: 360.6 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.3231, allocations: 42.5 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.3232, allocations: 8.859 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3232, allocations: 4 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3233, allocations: 83.45 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3234, allocations: 4 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002464/0.3236, allocations: 105.5 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.3237, allocations: 55.41 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.3238, allocations: 117.8 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3238, allocations: 29.7 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.3239, allocations: 96.11 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3239, allocations: 15.81 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.324, allocations: 45.69 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3242, allocations: 326.8 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3243, allocations: 59.97 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3245, allocations: 96.19 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3247, allocations: 155.6 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3247, allocations: 4 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004404/0.3252, allocations: 256.8 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/0.3252, allocations: 67.39 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3253, allocations: 4 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3253, allocations: 3.938 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-05/0.3253, allocations: 8 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3253, allocations: 4.594 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3257, allocations: 55.86 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3257, allocations: 11.98 kB / 1.023 GB, free: 5 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.0001261/0.3259, allocations: 134.3 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.3259, allocations: 7.906 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3259, allocations: 8.375 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3259, allocations: 4 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3259, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3259, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3261, allocations: 181.6 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3261, allocations: 0 / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.3261, allocations: 0 / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3261, allocations: 0 / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3262, allocations: 4 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3262, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3262, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3263, allocations: 124.9 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.3264, allocations: 81.02 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3264, allocations: 3.984 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.3264, allocations: 4 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.3265, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3265, allocations: 11.98 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.3266, allocations: 87.28 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3266, allocations: 0 / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002364/0.3268, allocations: 32 kB / 1.024 GB, free: 4.234 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.0001721/0.327, allocations: 110.6 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.3274, allocations: 246.7 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3274, allocations: 4 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.3275, allocations: 31.92 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3277, allocations: 21.06 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3281, allocations: 192.4 kB / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3284, allocations: 0.6854 MB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.3284, allocations: 15.38 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3284, allocations: 0 / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of Templates: time 0.00328/0.3317, allocations: 1.379 MB / 1.026 GB, free: 1.488 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=400 -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