Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.And,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_10_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.005114/0.005114, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001451/0.001451, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.477/2.477, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2376, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001484/0.2391, allocations: 0.6568 MB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2404, allocations: 1.187 MB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.2404, allocations: 3.938 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.2404, allocations: 7.938 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.2405, allocations: 15.84 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.241, allocations: 211 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.2413, allocations: 187.8 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.2413, allocations: 7.984 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.2414, allocations: 71.88 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2415, allocations: 59.84 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.2416, allocations: 16 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.2416, allocations: 35.86 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.2417, allocations: 8 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.2418, allocations: 55.81 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2419, allocations: 151.9 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.242, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.242, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.242, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 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.0004476/0.2424, allocations: 438.7 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.2425, allocations: 8.031 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.2425, allocations: 34.75 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.2425, allocations: 8.891 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2426, allocations: 176.3 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2427, allocations: 16.38 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.2427, allocations: 12.31 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.2428, allocations: 50.23 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2428, allocations: 3.938 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.2428, allocations: 0 / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2428, allocations: 3.938 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.2429, allocations: 12 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.2433, allocations: 356.7 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.889e-05/0.2433, allocations: 38.5 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.2434, allocations: 16.86 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.2434, allocations: 0 / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.2435, allocations: 79.45 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2435, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002026/0.2437, allocations: 109.5 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2438, allocations: 63.41 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.2439, allocations: 113.8 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2439, allocations: 29.7 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.244, allocations: 96.08 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.244, allocations: 15.84 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.2441, allocations: 53.69 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2442, allocations: 322.8 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2443, allocations: 59.97 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2445, allocations: 91.64 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2447, allocations: 163.5 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2447, allocations: 4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003821/0.2451, allocations: 256.9 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.2451, allocations: 67.39 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2451, allocations: 4 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.2451, allocations: 480 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.578e-05/0.2452, allocations: 4 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2452, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.2455, allocations: 60.02 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.2455, allocations: 11.98 kB / 1.171 GB, free: 1.527 MB / 0.92 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.271e-05/0.2456, allocations: 133.7 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.2456, allocations: 3.953 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.2457, allocations: 16.36 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2457, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2457, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.2457, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2458, allocations: 181.6 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2458, allocations: 3.938 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.2458, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2458, allocations: 4.047 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2459, allocations: 12 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2459, allocations: 0 / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2459, allocations: 0 / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.246, allocations: 109 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.2461, allocations: 88.98 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2461, allocations: 8 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.2461, allocations: 0 / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.2461, allocations: 7.984 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2461, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.2462, allocations: 91.27 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2462, allocations: 0 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002088/0.2464, allocations: 32 kB / 1.172 GB, free: 0.75 MB / 0.92 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.0004087/0.2468, allocations: 0.6596 MB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2472, allocations: 242.8 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2472, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.2472, allocations: 31.92 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.2474, allocations: 22.23 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.2491, allocations: 1.709 MB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2494, allocations: 0.6924 MB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.2494, allocations: 4 kB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.2494, allocations: 19.42 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2494, allocations: 0 / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.614/3.863, allocations: 2.876 MB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/16.54, allocations: 10.05 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches