Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 128 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.001811/0.001812, allocations: 198.5 kB / 16.53 MB, free: 6.668 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.622/2.622, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 68.91 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.242, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001636/0.2437, allocations: 0.6477 MB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.245, allocations: 1.184 MB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.2451, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.2451, allocations: 11.86 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.2451, allocations: 15.86 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.2457, allocations: 213.1 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2459, allocations: 179.8 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.246, allocations: 19.98 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.2461, allocations: 59.91 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.2462, allocations: 55.86 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2462, allocations: 16 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.2463, allocations: 23.98 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.2463, allocations: 19.86 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.2464, allocations: 55.88 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2466, allocations: 143.9 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2466, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2466, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2466, allocations: 4 kB / 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.0004554/0.2471, allocations: 438.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.2471, allocations: 8.031 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.2471, allocations: 34.75 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.2472, allocations: 12.84 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2473, allocations: 168.4 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2473, allocations: 4.375 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.2474, allocations: 12.36 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.2474, allocations: 50.25 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2475, allocations: 15.88 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2475, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2475, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.2475, allocations: 15.98 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.2479, allocations: 356.6 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.248, allocations: 34.56 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.2481, allocations: 24.88 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-06/0.2481, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.2482, allocations: 79.31 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2482, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002117/0.2484, allocations: 105.5 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2485, allocations: 59.34 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.2486, allocations: 117.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2486, allocations: 33.7 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.2487, allocations: 92.05 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2487, allocations: 11.91 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.2488, allocations: 53.62 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2489, allocations: 322.8 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2491, allocations: 59.97 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2492, allocations: 93.75 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.2494, allocations: 151.6 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2494, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000408/0.2498, allocations: 264.8 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.2499, allocations: 67.86 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2499, allocations: 4 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.2499, allocations: 0 / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.139e-05/0.2499, allocations: 11.92 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2499, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.2503, allocations: 55.78 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.2503, allocations: 20.08 kB / 1.069 GB, free: 8.508 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,and1.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 9.492e-05/0.2504, allocations: 127 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.2504, allocations: 4 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.2505, allocations: 8.375 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2505, allocations: 4 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2505, allocations: 0 / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2505, allocations: 3.984 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.2506, allocations: 177.6 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2506, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-06/0.2506, allocations: 7.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2506, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2507, allocations: 7.984 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2507, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2507, allocations: 64 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.2508, allocations: 117 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.2508, allocations: 81.02 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2509, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.2509, allocations: 8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.2509, allocations: 7.984 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.2509, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.251, allocations: 91.27 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.251, allocations: 3.938 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002135/0.2512, allocations: 28 kB / 1.07 GB, free: 7.746 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,and1.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.0004515/0.2517, allocations: 0.663 MB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.252, allocations: 242.7 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.252, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.2521, allocations: 28.2 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.0001959/0.2523, 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.001777/0.254, allocations: 1.706 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.2543, allocations: 0.6846 MB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.2544, allocations: 7.984 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.2544, allocations: 19.44 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.2544, allocations: 0 / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.822/3.076, allocations: 2.854 MB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/15.92, allocations: 6.125 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches