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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001002/0.001002, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.008197/0.008197, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 12 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6388, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.000786/0.6396, allocations: 397 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.6412, allocations: 1.199 MB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.6413, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.6413, allocations: 3.938 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.6414, allocations: 11.92 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.642, allocations: 191.4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.6422, allocations: 155.6 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.6423, allocations: 11.98 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.6424, allocations: 55.91 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.6425, allocations: 43.86 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.6426, allocations: 12 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.863e-05/0.6426, allocations: 23.98 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.6427, allocations: 3.984 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.6428, allocations: 81.52 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.643, allocations: 141.9 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.643, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.078e-06/0.643, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.643, allocations: 7.875 kB / 1.025 GB, free: 13.54 MB / 0.7794 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.0005362/0.6436, allocations: 406.8 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6436, allocations: 12.03 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.6437, allocations: 34.73 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.6437, allocations: 8.938 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.6439, allocations: 176.2 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6439, allocations: 8.312 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.6439, allocations: 12.38 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.644, allocations: 46.23 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.644, allocations: 3.938 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.6441, allocations: 4 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6441, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.6441, allocations: 19.94 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.6446, allocations: 348.8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.6447, allocations: 34.56 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.6447, allocations: 12.86 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.6447, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.6449, allocations: 99.3 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.6449, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002267/0.6451, allocations: 101.6 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.6451, allocations: 55.41 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6453, allocations: 117.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6453, allocations: 37.64 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.6454, allocations: 92.12 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.6454, allocations: 11.81 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.6454, allocations: 29.7 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6456, allocations: 318.8 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.6457, allocations: 59.97 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.6459, allocations: 88.25 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.6461, allocations: 164.1 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6461, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004585/0.6466, allocations: 260.7 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.6466, allocations: 63.41 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6466, allocations: 12.05 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6467, allocations: 4.062 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.6467, allocations: 11.94 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6467, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.6471, allocations: 79.88 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.6471, allocations: 11.98 kB / 1.028 GB, free: 10.54 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 0.0001928/0.6473, allocations: 121.8 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.6474, allocations: 7.906 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.6474, allocations: 12.36 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6474, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6474, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6474, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.6476, allocations: 177.6 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6476, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-06/0.6476, allocations: 3.984 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6476, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6476, allocations: 4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6476, allocations: 7.938 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6476, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.6478, allocations: 113 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.6478, allocations: 77.11 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.6479, allocations: 4 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.6479, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6479, allocations: 7.984 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.6479, allocations: 4 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.648, allocations: 91.27 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.648, allocations: 288 / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002348/0.6482, allocations: 36 kB / 1.029 GB, free: 9.777 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.0004723/0.6487, allocations: 0.663 MB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.6491, allocations: 242.7 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6491, allocations: 0 / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.6491, allocations: 24.45 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.6494, allocations: 22.34 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6513, allocations: 1.718 MB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6516, allocations: 0.6887 MB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.6516, allocations: 4 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.6516, allocations: 23.42 kB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6516, allocations: 0 / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.6641, allocations: 2.613 MB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.6643, allocations: 197.2 kB / 1.035 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.399, allocations: 3.75 kB / 1.035 GB, free: 3.48 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