Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_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.001196/0.001196, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001281/0.001281, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 64.25 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3358, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001672/0.3375, allocations: 0.7155 MB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3388, allocations: 1.202 MB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.3388, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.3388, allocations: 3.938 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.3389, allocations: 7.938 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.3395, allocations: 201.5 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.3397, allocations: 183.7 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.3398, allocations: 15.98 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.34, allocations: 63.89 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.34, allocations: 51.86 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.3401, allocations: 16 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.761e-05/0.3402, allocations: 23.98 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.3402, allocations: 11.94 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.3403, allocations: 63.88 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3405, allocations: 147.8 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3405, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.467e-06/0.3405, allocations: 4 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3405, allocations: 0 / 1.055 GB, free: 5.938 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004552/0.3409, allocations: 434.7 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.341, allocations: 8.625 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.341, allocations: 38.75 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.3411, allocations: 16.83 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.3412, allocations: 168.4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3412, allocations: 4.375 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3412, allocations: 12.38 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.3413, allocations: 50.23 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3414, allocations: 3.938 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.3414, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3414, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.3414, allocations: 15.94 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3419, allocations: 368.6 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.3419, allocations: 30.56 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.342, allocations: 16.86 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.342, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.3421, allocations: 83.39 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3421, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002291/0.3424, allocations: 105.6 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3424, allocations: 51.41 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.3425, allocations: 121.7 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3425, allocations: 29.7 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.3426, allocations: 100.1 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3426, allocations: 11.81 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.3427, allocations: 49.69 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.3428, allocations: 322.8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3429, allocations: 63.97 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3431, allocations: 88.27 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3433, allocations: 159.6 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3433, allocations: 3.938 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000381/0.3437, allocations: 260.8 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.3437, allocations: 71.39 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3437, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3438, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-05/0.3438, allocations: 7.938 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3438, allocations: 0 / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.3441, allocations: 56.52 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3442, allocations: 19.94 kB / 1.058 GB, free: 2.906 MB / 0.8106 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.84e-05/0.3443, allocations: 129.7 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.3443, allocations: 7.906 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.3443, allocations: 8.375 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3443, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3443, allocations: 4 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3443, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3445, allocations: 181.6 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3445, allocations: 0 / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.3445, allocations: 15.98 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3445, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3445, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3445, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3445, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.3447, allocations: 117 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.3447, allocations: 85.02 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3447, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.3448, allocations: 3.984 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3448, allocations: 8 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3448, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.3449, allocations: 91.27 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3449, allocations: 0 / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000222/0.3451, allocations: 28 kB / 1.058 GB, free: 2.145 MB / 0.8106 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.0003754/0.3455, allocations: 0.6635 MB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.3458, allocations: 246.7 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3458, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.3458, allocations: 23.94 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.3461, allocations: 28.39 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3477, allocations: 1.718 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.348, allocations: 0.6885 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.348, allocations: 4 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.3481, allocations: 15.42 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3481, allocations: 4 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.257/4.605, allocations: 2.758 MB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/4.606, allocations: 219.4 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/7.179, allocations: 0 / 1.065 GB, free: 11.68 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches