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.0008723/0.0008724, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005826/0.005826, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.51/2.51, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8088, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008952/0.8097, allocations: 397 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.8114, allocations: 1.195 MB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.8114, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.8115, allocations: 7.922 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.8115, allocations: 7.922 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.8122, allocations: 202.7 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.8123, allocations: 151.7 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8124, allocations: 8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.8125, allocations: 63.88 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.8126, allocations: 39.88 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.8127, allocations: 8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.8128, allocations: 23.98 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.8128, allocations: 11.94 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.8129, allocations: 77.52 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.8131, allocations: 149.9 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8131, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8131, allocations: 3.938 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.8131, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 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.0004626/0.8136, allocations: 406.8 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8136, allocations: 8.031 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.8137, allocations: 30.75 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.8137, allocations: 12.94 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.8139, allocations: 172.2 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.8139, allocations: 8.359 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.8139, allocations: 12.38 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.814, allocations: 46.25 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8141, allocations: 7.875 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8141, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.8141, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.8141, allocations: 15.98 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.8146, allocations: 356.7 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.8147, allocations: 30.58 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.8147, allocations: 20.88 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.8148, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.8149, allocations: 83.28 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.8149, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002322/0.8152, allocations: 97.66 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.8152, allocations: 59.34 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.8153, allocations: 121.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.8153, allocations: 33.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.8154, allocations: 88.14 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.8154, allocations: 11.81 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.8155, allocations: 25.7 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8156, allocations: 326.8 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.8157, allocations: 59.97 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.8159, allocations: 88.27 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.8161, allocations: 163.6 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8161, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000378/0.8165, allocations: 261.2 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.8165, allocations: 71.39 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8165, allocations: 7.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.8165, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-05/0.8166, allocations: 7.938 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8166, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.817, allocations: 87.98 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.817, allocations: 8 kB / 1.028 GB, free: 10.49 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 9.439e-05/0.8171, allocations: 126.3 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.8171, allocations: 7.906 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.8172, allocations: 8.375 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.8172, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8172, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8172, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.8173, allocations: 181.6 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8173, allocations: 4 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.8173, allocations: 3.938 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8173, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.8174, allocations: 8 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8174, allocations: 320 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8174, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.8175, allocations: 112.9 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.8176, allocations: 77.11 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.8176, allocations: 7.984 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.8176, allocations: 8 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.8176, allocations: 0 / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.8176, allocations: 4 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.8177, allocations: 91.27 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.623e-06/0.8177, allocations: 0 / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002225/0.8179, allocations: 39.94 kB / 1.029 GB, free: 9.723 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.0004286/0.8184, allocations: 0.6553 MB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.8187, allocations: 242.7 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8187, allocations: 0 / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.8188, allocations: 24.22 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.819, allocations: 24.75 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.8207, allocations: 1.726 MB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.821, allocations: 0.6848 MB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.821, allocations: 7.938 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.821, allocations: 23.42 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.821, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.8338, allocations: 2.609 MB / 1.035 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.8341, allocations: 195.8 kB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.514, allocations: 0 / 1.035 GB, free: 3.434 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