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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_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.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.512/2.512, allocations: 469.8 MB / 0.7424 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 64.55 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2384, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001655/0.2401, allocations: 0.6568 MB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2414, allocations: 1.195 MB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.2415, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.2415, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.2416, allocations: 15.8 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.2421, allocations: 222 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.2423, allocations: 183.8 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.2424, allocations: 8 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.2425, allocations: 67.89 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.2426, allocations: 51.8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.2426, allocations: 16 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.2427, allocations: 31.98 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.2427, allocations: 7.938 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.2428, allocations: 59.88 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.243, allocations: 147.9 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.243, allocations: 3.984 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.243, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.243, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 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.0004758/0.2435, allocations: 432.1 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2435, allocations: 12.03 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.2436, allocations: 34.73 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.2436, allocations: 12.84 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2438, allocations: 172.3 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2438, allocations: 12.38 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2438, allocations: 8.375 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.2439, allocations: 50.17 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2439, allocations: 3.938 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2439, allocations: 8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-06/0.2439, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.244, allocations: 12 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.2444, allocations: 356.6 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.2445, allocations: 42.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.2445, allocations: 8.859 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.2445, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.2447, allocations: 79.45 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2447, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002153/0.2449, allocations: 109.5 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.245, allocations: 55.39 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.2451, allocations: 117.8 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.2451, allocations: 29.7 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.2452, allocations: 96.03 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.2452, allocations: 11.91 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.2453, allocations: 45.69 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2454, allocations: 326.7 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2456, allocations: 59.97 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.2457, allocations: 96.25 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.2459, allocations: 160 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2459, allocations: 3.938 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004011/0.2463, allocations: 260.8 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.2464, allocations: 67.39 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2464, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2464, allocations: 4 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.534e-05/0.2464, allocations: 4 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2464, allocations: 4 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.2468, allocations: 59.95 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2468, allocations: 8 kB / 1.069 GB, free: 8.527 MB / 0.8262 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.0001108/0.2469, allocations: 137.6 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.2469, allocations: 4 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.247, allocations: 8.359 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.247, allocations: 0 / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.247, allocations: 8 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.247, allocations: 0 / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2471, allocations: 181.6 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2471, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.2472, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.2472, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2472, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2472, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2472, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2473, allocations: 113 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.2474, allocations: 85.02 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2474, allocations: 3.984 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.2474, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.2474, allocations: 7.938 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2475, allocations: 16.05 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.2475, allocations: 91.22 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002131/0.2477, allocations: 28 kB / 1.07 GB, free: 7.754 MB / 0.8262 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.0004467/0.2482, allocations: 0.6673 MB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.2485, allocations: 246.6 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2485, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.2486, allocations: 27.98 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.2488, allocations: 21.64 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.2506, allocations: 1.695 MB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2509, allocations: 0.6885 MB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.251, allocations: 4 kB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.251, allocations: 19.42 kB / 1.073 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.251, allocations: 4 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.605/2.856, allocations: 2.86 MB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/16.14, allocations: 4 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > 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/jenkins1/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