Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001264/0.001264, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6811, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001844/0.683, allocations: 0.6926 MB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.6843, allocations: 1.261 MB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.6843, allocations: 1.625 kB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.6843, allocations: 7.875 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.6844, allocations: 18.89 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.6851, allocations: 300.6 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.6854, allocations: 274 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.6855, allocations: 15.5 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.6856, allocations: 103.7 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.6857, allocations: 80.94 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.6858, allocations: 20.81 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.562e-05/0.6859, allocations: 37.52 kB / 0.9525 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.6859, allocations: 12.88 kB / 0.9525 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.686, allocations: 82.27 kB / 0.9526 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.6862, allocations: 220 kB / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6862, allocations: 0 / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6863, allocations: 1.344 kB / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6863, allocations: 0 / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004869/0.6868, allocations: 0.4894 MB / 0.9533 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6868, allocations: 13.31 kB / 0.9533 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.6868, allocations: 32.31 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.6869, allocations: 11.56 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.687, allocations: 188 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.687, allocations: 7.25 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.6871, allocations: 13.69 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.6872, allocations: 59.61 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6872, allocations: 0 / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6872, allocations: 7.984 kB / 0.9536 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6872, allocations: 1.312 kB / 0.9536 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.6873, allocations: 22.52 kB / 0.9536 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.6877, allocations: 423.2 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.6878, allocations: 27.39 kB / 0.954 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.6878, allocations: 24.88 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.6879, allocations: 1 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.688, allocations: 104.8 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.6881, allocations: 1.406 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002696/0.6883, allocations: 136.1 kB / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.6884, allocations: 53.62 kB / 0.9543 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.6885, allocations: 139.7 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.6885, allocations: 39.27 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.6886, allocations: 98.2 kB / 0.9546 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.6886, allocations: 19.42 kB / 0.9546 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.6887, allocations: 67.92 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.6888, allocations: 324.1 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.6889, allocations: 86.17 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.6891, allocations: 136.5 kB / 0.9552 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.6894, allocations: 236.7 kB / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6894, allocations: 384 / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005198/0.6899, allocations: 381 kB / 0.9558 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.69, allocations: 95.19 kB / 0.9559 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.69, allocations: 2.438 kB / 0.9559 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.69, allocations: 6.25 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.327e-05/0.69, allocations: 15.23 kB / 0.9559 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.69, allocations: 2.188 kB / 0.9559 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.6905, allocations: 83.62 kB / 0.956 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.6906, allocations: 20.77 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.626e-05/0.6907, allocations: 130.6 kB / 0.9561 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.6907, allocations: 11.47 kB / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.6907, allocations: 9.688 kB / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6907, allocations: 1.312 kB / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6907, allocations: 5.344 kB / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6908, allocations: 0 / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.6908, allocations: 193.2 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6909, allocations: 1.375 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-06/0.6909, allocations: 1.5 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6909, allocations: 1.312 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6909, allocations: 5.219 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6909, allocations: 0 / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6909, allocations: 9.422 kB / 0.9564 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.691, allocations: 134 kB / 0.9565 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.6911, allocations: 84.61 kB / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.6911, allocations: 7.984 kB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.335e-05/0.6911, allocations: 3.5 kB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.6912, allocations: 11.73 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.6912, allocations: 3.844 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.6912, allocations: 97.67 kB / 0.9567 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6912, allocations: 0 / 0.9567 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000255/0.6915, allocations: 42.31 kB / 0.9567 GB, free: 3.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003289/0.6918, allocations: 0.6832 MB / 0.9574 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.6922, allocations: 377.1 kB / 0.9578 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6922, allocations: 0 / 0.9578 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.451e-05/0.6923, allocations: 39.3 kB / 0.9578 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6925, allocations: 26.78 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.6945, allocations: 2.059 MB / 0.9598 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.6946, allocations: 0.6955 MB / 0.9605 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.6947, allocations: 9.953 kB / 0.9605 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.6947, allocations: 28.72 kB / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.6947, allocations: 0 / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.7227, allocations: 3.775 MB / 0.9642 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.203, allocations: 12.36 kB / 0.9642 GB, free: 13.81 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches