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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_9_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.0112/0.0112, allocations: 105.4 kB / 15.74 MB, free: 6.441 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.001782/0.001782, allocations: 192.6 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.504/2.504, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.725/3.725, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002097, allocations: 58.88 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4932, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002997/0.4962, allocations: 0.6525 MB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.4986, allocations: 1.196 MB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.4987, allocations: 0 / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.4987, allocations: 3.938 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.4989, allocations: 11.92 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.4998, allocations: 213.5 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.5002, allocations: 191.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.5003, allocations: 12 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.5005, allocations: 71.88 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.5007, allocations: 59.84 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.5008, allocations: 16 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.5009, allocations: 31.92 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.5009, allocations: 11.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.5011, allocations: 55.88 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.5014, allocations: 150.4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.5014, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5014, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5015, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 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.0008447/0.5023, allocations: 435.6 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.999e-05/0.5024, allocations: 8.031 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.5025, allocations: 34.69 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.5026, allocations: 12.84 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.5028, allocations: 164.4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.5028, allocations: 4.375 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.5029, allocations: 20.36 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.503, allocations: 46.25 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5031, allocations: 3.938 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5031, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5031, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.5032, allocations: 23.91 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.5039, allocations: 360.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5041, allocations: 34.58 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.5041, allocations: 16.94 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.5042, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.5045, allocations: 83.31 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.5045, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003829/0.5049, allocations: 97.58 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.505, allocations: 55.41 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.5051, allocations: 121.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.5052, allocations: 34.08 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5053, allocations: 96.03 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.5054, allocations: 7.906 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.5055, allocations: 57.62 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002426/0.5058, allocations: 326.7 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.506, allocations: 63.91 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.5062, allocations: 95.5 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.5065, allocations: 151.6 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5065, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000631/0.5072, allocations: 264.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.5073, allocations: 67.39 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5073, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5073, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.5074, allocations: 7.984 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5074, allocations: 3.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.5079, allocations: 63.91 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.5079, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 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.0001482/0.5081, allocations: 125.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.5081, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.5082, allocations: 12.38 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5082, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5082, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5082, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.5084, allocations: 181.6 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5085, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-06/0.5085, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5085, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.5085, allocations: 4 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5085, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5085, allocations: 96 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.5087, allocations: 125.1 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.5088, allocations: 81.02 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.5089, allocations: 7.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.5089, allocations: 8 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.509, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.509, allocations: 8.062 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.605e-05/0.5091, allocations: 91.27 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5091, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003732/0.5094, allocations: 32 kB / 1.093 GB, free: 11.5 MB / 0.8575 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.0006798/0.5101, allocations: 0.6669 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.5106, allocations: 246.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5106, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.5107, allocations: 23.98 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.5111, allocations: 18.44 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.514, allocations: 1.709 MB / 1.096 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.5145, allocations: 0.689 MB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.056e-05/0.5146, allocations: 7.984 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.5146, allocations: 15.44 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of SimCode: time 7.82e-07/0.5147, allocations: 0 / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/0.6441, allocations: 2.892 MB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12, allocations: 9.688 kB / 1.1 GB, free: 5.145 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > 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