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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 91.92 kB / 16.02 MB, free: 80 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.001494/0.001494, allocations: 179.5 kB / 16.92 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.281 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.698/2.698, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 8 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6277, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008251/0.6285, allocations: 397 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.6302, allocations: 1.198 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.6302, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.6303, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.6303, allocations: 15.91 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.631, allocations: 195.2 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.6312, allocations: 155.6 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.6313, allocations: 15.98 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.6314, allocations: 55.89 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.6315, allocations: 47.86 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.6315, allocations: 8 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.6316, allocations: 20 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.6316, allocations: 7.984 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.6317, allocations: 81.52 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.6319, allocations: 95.77 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6319, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6319, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6319, allocations: 4 kB / 1.026 GB, free: 13.55 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.0004699/0.6324, allocations: 412.7 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6325, allocations: 11.97 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.6325, allocations: 12.92 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.6327, allocations: 168.2 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.6327, allocations: 8.375 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.6327, allocations: 12.38 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6328, allocations: 46.23 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.6329, allocations: 192 / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6329, allocations: 7.938 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6329, allocations: 7.938 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.6329, allocations: 8 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.6334, allocations: 352.8 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.6335, allocations: 38.48 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.6335, allocations: 16.86 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.6336, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.6337, allocations: 95.28 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6337, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002408/0.634, allocations: 97.67 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.634, allocations: 51.41 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.6341, allocations: 121.7 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.6342, allocations: 33.7 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.6342, allocations: 100.1 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.6343, allocations: 11.8 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.6343, allocations: 21.72 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6345, allocations: 326.8 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.6346, allocations: 59.91 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.6347, allocations: 92.25 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.6349, allocations: 163.6 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.635, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00042/0.6354, allocations: 252.9 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.6355, allocations: 71.52 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6355, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6355, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.6355, allocations: 3.984 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.6355, allocations: 7.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.636, allocations: 84.25 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.636, allocations: 11.98 kB / 1.029 GB, free: 10.59 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 0.0001154/0.6361, allocations: 123.3 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.6361, allocations: 7.906 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.6362, allocations: 12.38 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.6362, allocations: 7.922 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6362, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6362, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.6363, allocations: 173.6 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6363, allocations: 3.938 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.6364, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6364, allocations: 64 / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6364, allocations: 11.98 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6364, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6364, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.6366, allocations: 113 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.6366, allocations: 85.02 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.6366, allocations: 4 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.6367, allocations: 0 / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.6367, allocations: 11.97 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.6367, allocations: 4 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.6368, allocations: 91.27 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6368, allocations: 0 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000254/0.637, allocations: 32 kB / 1.029 GB, free: 9.82 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.0001499/0.6372, allocations: 107.2 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.6375, allocations: 250.6 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.6375, allocations: 0 / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.6376, allocations: 27.92 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.6379, allocations: 22.91 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.6382, allocations: 200.7 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.6385, allocations: 0.6848 MB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.6385, allocations: 11.44 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of SimCode: time 2.114e-06/0.6385, allocations: 4 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of Templates: time 0.003032/0.6415, allocations: 1.369 MB / 1.032 GB, free: 7.082 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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