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.009302/0.009302, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.002116/0.002116, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.835/2.835, allocations: 437.1 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3201, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002118/0.3222, allocations: 0.6565 MB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3239, allocations: 1.187 MB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.324, allocations: 4 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.324, allocations: 3.938 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.3242, allocations: 7.922 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.325, allocations: 218.9 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3252, allocations: 187.7 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.3254, allocations: 7.984 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3255, allocations: 71.88 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3256, allocations: 59.8 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.3257, allocations: 16 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.3258, allocations: 35.92 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.3258, allocations: 11.98 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.3259, allocations: 55.83 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3262, allocations: 150.5 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3262, allocations: 4 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3262, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3262, allocations: 0 / 1.169 GB, free: 4.629 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.0005967/0.3268, allocations: 431.6 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3269, allocations: 12.03 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.3269, allocations: 30.75 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.327, allocations: 20.83 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3271, allocations: 172.2 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3272, allocations: 8.375 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3272, allocations: 12.38 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3273, allocations: 46.23 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3273, allocations: 3.938 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3273, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3274, allocations: 3.938 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.3274, allocations: 12 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.3279, allocations: 364.6 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.328, allocations: 30.56 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.328, allocations: 16.86 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.328, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.3282, allocations: 91.36 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.3282, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002557/0.3285, allocations: 101.6 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3285, allocations: 55.41 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.3286, allocations: 117.8 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3286, allocations: 29.7 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3287, allocations: 100 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.3287, allocations: 7.891 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3288, allocations: 57.69 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.329, allocations: 318.8 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3291, allocations: 67.89 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3293, allocations: 88.27 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3295, allocations: 167.5 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3295, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004267/0.3299, allocations: 252.9 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.33, allocations: 71.39 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.33, allocations: 0 / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.33, allocations: 0 / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.119e-05/0.33, allocations: 4 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.33, allocations: 3.938 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.3304, allocations: 63.97 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.3304, allocations: 19.98 kB / 1.171 GB, free: 1.586 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 0.000122/0.3306, allocations: 121.8 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.3306, allocations: 4 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3306, allocations: 8.375 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3306, allocations: 8.453 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3306, allocations: 0 / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3306, allocations: 0 / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3308, allocations: 177.5 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3308, allocations: 3.938 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.3309, allocations: 7.938 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3309, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3309, allocations: 7.984 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3309, allocations: 0 / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3309, allocations: 0 / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.331, allocations: 117 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3311, allocations: 85.02 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3311, allocations: 4 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.3311, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3312, allocations: 7.984 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3312, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.3313, allocations: 91.27 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002481/0.3315, allocations: 32 kB / 1.172 GB, free: 0.8242 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.000458/0.332, allocations: 0.6513 MB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3324, allocations: 246.7 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3324, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.3324, allocations: 28.22 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3327, allocations: 23.92 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3345, allocations: 1.71 MB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3348, allocations: 0.6886 MB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.3348, allocations: 11.92 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3349, allocations: 23.42 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3349, allocations: 0 / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.3548, allocations: 2.878 MB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.952, allocations: 10.08 kB / 1.178 GB, free: 10.46 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=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