Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.451/2.451, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 68.33 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3228, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002665/0.3256, allocations: 0.8984 MB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3279, allocations: 1.541 MB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.328, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.3282, allocations: 11.86 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.3283, allocations: 31.77 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3296, allocations: 496.2 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000546/0.3302, allocations: 419.3 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3304, allocations: 37.48 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.3307, allocations: 163.6 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.331, allocations: 143.6 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3311, allocations: 24 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.3312, allocations: 31.98 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.3313, allocations: 43.89 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3315, allocations: 139.5 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.332, allocations: 391.2 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.332, allocations: 8 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.332, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.332, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009908/0.333, allocations: 0.6321 MB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3331, allocations: 23.91 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.3331, allocations: 50.67 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.3333, allocations: 28.75 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.3336, allocations: 252.1 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.3336, allocations: 16.38 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.3337, allocations: 28.38 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.334, allocations: 151.8 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.334, allocations: 3.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.334, allocations: 8 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.334, allocations: 7.938 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3342, allocations: 86.38 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.3351, allocations: 0.7148 MB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3353, allocations: 163.7 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.3354, allocations: 44.84 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3354, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.3357, allocations: 167.3 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.3357, allocations: 0 / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004713/0.3362, allocations: 242.7 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3363, allocations: 55.41 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3365, allocations: 179.8 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.3365, allocations: 41.69 kB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3367, allocations: 132.4 kB / 1.059 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.3367, allocations: 31.56 kB / 1.059 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.3369, allocations: 121.6 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3371, allocations: 326.8 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.3374, allocations: 159.8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.3378, allocations: 242.2 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.3382, allocations: 415.3 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.3383, allocations: 4.062 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009693/0.3392, allocations: 0.6225 MB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.3394, allocations: 164.4 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3394, allocations: 4 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3394, allocations: 4 kB / 1.061 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.541e-05/0.3394, allocations: 15.94 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3394, allocations: 4 kB / 1.061 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.3402, allocations: 139.9 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.3403, allocations: 31.97 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001749/0.3405, allocations: 163.1 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3405, allocations: 23.69 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.3406, allocations: 21.84 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3406, allocations: 4 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3406, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3406, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.3411, allocations: 0.507 MB / 1.062 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3411, allocations: 3.984 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.3412, allocations: 8 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3412, allocations: 4 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3412, allocations: 4 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3412, allocations: 0 / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3412, allocations: 0 / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3415, allocations: 288.8 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3416, allocations: 92.86 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3416, allocations: 7.984 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.3417, allocations: 4 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3417, allocations: 23.97 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3417, allocations: 12 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.615e-05/0.3418, allocations: 115.2 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3418, allocations: 0 / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003597/0.3422, allocations: 80 kB / 1.063 GB, free: 12.72 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006187/0.3428, allocations: 0.831 MB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007144/0.3435, allocations: 0.614 MB / 1.064 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3436, allocations: 0 / 1.064 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3437, allocations: 73.8 kB / 1.064 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3441, allocations: 53.89 kB / 1.064 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.3477, allocations: 3.027 MB / 1.067 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.348, allocations: 0.7284 MB / 1.068 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.154e-05/0.3481, allocations: 25.48 kB / 1.068 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.3482, allocations: 55.41 kB / 1.068 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3482, allocations: 0 / 1.068 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3631/0.7113, allocations: 5.992 MB / 1.074 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.7115, allocations: 220.1 kB / 1.074 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.542, allocations: 0 / 1.074 GB, free: 0.9297 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches