Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007663/0.007663, allocations: 99.58 kB / 15.73 MB, free: 6.043 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.001745/0.001745, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.88 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3764, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001851/0.3782, allocations: 0.6529 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3798, allocations: 1.192 MB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3798, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.3799, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.3799, allocations: 15.86 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.3806, allocations: 219 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3808, allocations: 171.7 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.3809, allocations: 11.98 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.381, allocations: 71.83 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3812, allocations: 59.84 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.3812, allocations: 16 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.3813, allocations: 31.92 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.3813, allocations: 11.98 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.3814, allocations: 55.83 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3816, allocations: 151.6 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3816, allocations: 7.938 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3816, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3816, allocations: 4 kB / 1.223 GB, free: 11.16 MB / 0.9825 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.0005322/0.3821, allocations: 430.7 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3822, allocations: 16.02 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.3822, allocations: 8.891 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3823, allocations: 168.3 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3823, allocations: 4.375 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.3824, allocations: 12.31 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3825, allocations: 54.23 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3825, allocations: 192 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3825, allocations: 7.938 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3825, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.3826, allocations: 12 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.383, allocations: 352.8 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.3831, allocations: 38.44 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.3831, allocations: 12.86 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.3831, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.3833, allocations: 83.45 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3833, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002504/0.3836, allocations: 113.8 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3836, allocations: 51.41 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.3837, allocations: 117.8 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3837, allocations: 29.7 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.3838, allocations: 96.45 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.3838, allocations: 15.91 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.3839, allocations: 49.69 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.384, allocations: 326.8 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3841, allocations: 55.91 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3843, allocations: 96.25 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3845, allocations: 159.6 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3845, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003861/0.3848, allocations: 260.9 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.3849, allocations: 71.39 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3849, allocations: 8.062 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3849, allocations: 0 / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.3849, allocations: 4 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.385, allocations: 4.125 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.3853, allocations: 63.83 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.3853, allocations: 15.98 kB / 1.226 GB, free: 8.168 MB / 0.9825 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.0001081/0.3854, allocations: 132.1 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.3854, allocations: 7.938 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3855, allocations: 12.38 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3855, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3855, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3855, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3856, allocations: 177.6 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3856, allocations: 0 / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.3856, allocations: 7.984 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3856, allocations: 0 / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3856, allocations: 4 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3856, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3856, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3858, allocations: 113.1 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.3858, allocations: 81.05 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3858, allocations: 7.938 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.3858, allocations: 4 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3859, allocations: 7.984 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3859, allocations: 4 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.3859, allocations: 91.27 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3859, allocations: 0 / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002317/0.3862, allocations: 32 kB / 1.226 GB, free: 7.402 MB / 0.9825 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.0001722/0.3863, allocations: 111.2 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.3867, allocations: 222.6 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3867, allocations: 4 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.3867, allocations: 20.25 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3869, allocations: 21.8 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3873, allocations: 162.5 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3876, allocations: 0.6923 MB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.3876, allocations: 4 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.3876, allocations: 15.44 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3876, allocations: 0 / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of Templates: time 0.004453/0.3921, allocations: 1.837 MB / 1.229 GB, free: 4.262 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches