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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00197/0.00197, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.338/2.338, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.89 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6081/0.6096, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001528/0.6112, allocations: 0.7214 MB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.6123, allocations: 1.183 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.6123, allocations: 4 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.6124, allocations: 3.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.6124, allocations: 3.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.6129, allocations: 207.2 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.6131, allocations: 183.7 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.6132, allocations: 8 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.6133, allocations: 71.88 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.6134, allocations: 43.88 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.6134, allocations: 19.98 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.6135, allocations: 35.92 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.6135, allocations: 11.92 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.6136, allocations: 51.91 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.6137, allocations: 157.8 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6137, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6137, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6138, allocations: 0 / 1.02 GB, free: 4 kB / 0.7637 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.000413/0.6142, allocations: 426.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6142, allocations: 16.02 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.6142, allocations: 30.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.6143, allocations: 12.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.6144, allocations: 172.3 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.6144, allocations: 8.375 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.6144, allocations: 12.36 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.6145, allocations: 54.19 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6145, allocations: 7.922 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.6146, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.6146, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.6146, allocations: 15.98 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.615, allocations: 348.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.615, allocations: 38.58 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.6151, allocations: 20.88 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.6151, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.6152, allocations: 91.34 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.6152, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0001932/0.6154, allocations: 97.58 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6155, allocations: 59.34 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.6155, allocations: 121.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.6156, allocations: 29.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.6156, allocations: 88.14 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.6157, allocations: 19.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.6157, allocations: 45.69 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.6158, allocations: 326.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.6159, allocations: 51.97 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.6161, allocations: 100.2 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6162, allocations: 151.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6162, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003614/0.6166, allocations: 273.2 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.6166, allocations: 68.48 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6167, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.6167, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.6167, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6167, allocations: 11.92 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.617, allocations: 56 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.6171, allocations: 15.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 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 8.069e-05/0.6172, allocations: 122.3 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.6172, allocations: 7.906 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.6172, allocations: 4.375 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6172, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6172, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6172, allocations: 3.984 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.6173, allocations: 177.6 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6173, allocations: 7.938 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/0.6173, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6174, allocations: 64 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.6174, allocations: 8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6174, allocations: 3.984 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6174, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.6175, allocations: 113 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.6175, allocations: 81.09 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.6176, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.6176, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.6176, allocations: 11.98 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6176, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.6177, allocations: 91.22 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6177, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002123/0.6179, allocations: 39.89 kB / 1.023 GB, free: 12.2 MB / 0.7794 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.0003375/0.6182, allocations: 0.6476 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.6185, allocations: 242.7 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6185, allocations: 288 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.6186, allocations: 31.92 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.6188, allocations: 24.11 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.6203, allocations: 1.717 MB / 1.025 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.6205, allocations: 0.6846 MB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.6205, allocations: 4 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.6205, allocations: 19.42 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6205, allocations: 0 / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.172/1.792, allocations: 2.774 MB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.793, allocations: 199.1 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/3.47, allocations: 0 / 1.029 GB, free: 5.734 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > 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