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.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.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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001259/0.001259, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.36/2.36, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6064/0.6078, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001788/0.6097, allocations: 0.7267 MB / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.611, allocations: 1.206 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.611, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.6111, allocations: 7.875 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.6112, allocations: 7.922 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.6117, allocations: 202.7 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.6118, allocations: 151.7 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.6119, allocations: 15.97 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.612, allocations: 55.91 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.6121, allocations: 55.84 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.6121, allocations: 8 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.846e-05/0.6122, allocations: 16 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.6122, allocations: 15.92 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.6123, allocations: 55.81 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.6124, allocations: 141.9 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.6124, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6124, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6124, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 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.0004161/0.6129, allocations: 436.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.6129, allocations: 12.03 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.6129, allocations: 30.75 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.613, allocations: 16.84 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.6131, allocations: 168.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6131, allocations: 8.359 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.6131, allocations: 8.375 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.6132, allocations: 50.25 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6132, allocations: 7.875 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.6133, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.6133, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.6133, allocations: 19.98 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.6137, allocations: 356.6 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.973e-05/0.6138, allocations: 34.58 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.6138, allocations: 20.94 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.6138, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.6139, allocations: 79.38 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.614, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0001984/0.6142, allocations: 97.58 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.6142, allocations: 59.34 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.6143, allocations: 117.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.6143, allocations: 29.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.6144, allocations: 92.12 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.6144, allocations: 19.81 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.6145, allocations: 57.61 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.6146, allocations: 318.8 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.6147, allocations: 55.97 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.6148, allocations: 96.25 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.615, allocations: 163.6 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.615, allocations: 480 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003781/0.6154, allocations: 260.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.6154, allocations: 67.39 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6155, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.6155, allocations: 4.125 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.6155, allocations: 11.92 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6155, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.6158, allocations: 55.94 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.6159, allocations: 15.98 kB / 1.022 GB, free: 13.07 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,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 8.318e-05/0.616, allocations: 126.3 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.616, allocations: 7.906 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.616, allocations: 8.375 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.616, allocations: 3.984 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.616, allocations: 3.984 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.616, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.6161, allocations: 181.6 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6162, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-06/0.6162, allocations: 3.938 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6162, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.6162, allocations: 3.984 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6162, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6162, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.6163, allocations: 113 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.6164, allocations: 81.02 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6164, allocations: 4 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.6164, allocations: 0 / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.6164, allocations: 11.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.6165, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.6165, allocations: 95.27 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.182e-06/0.6165, allocations: 288 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002244/0.6167, allocations: 31.94 kB / 1.023 GB, free: 12.31 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,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.0003747/0.6171, allocations: 0.6553 MB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.6174, allocations: 242.7 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6174, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.6175, allocations: 35.92 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.6177, allocations: 11.98 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.6193, allocations: 1.709 MB / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.6195, allocations: 0.6866 MB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.6196, allocations: 11.92 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.6196, allocations: 19.44 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6196, allocations: 0 / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.631, allocations: 2.665 MB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.6312, allocations: 203.5 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.155, allocations: 0 / 1.029 GB, free: 5.938 MB / 0.7794 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=50 --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