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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001978/0.001978, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001982/0.001982, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6967, allocations: 140.4 MB / 0.9491 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002131/0.6989, allocations: 0.7598 MB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.7001, allocations: 1.286 MB / 0.9511 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.7002, allocations: 4 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.7002, allocations: 9.297 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.7003, allocations: 9.297 kB / 0.9511 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.701, allocations: 287.1 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.7012, allocations: 230.8 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.7014, allocations: 15.14 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.7015, allocations: 87.2 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.7016, allocations: 76.08 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.7017, allocations: 16.06 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.7018, allocations: 23.02 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.7018, allocations: 17.14 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.702, allocations: 83.95 kB / 0.9519 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.7022, allocations: 202.9 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7022, allocations: 0 / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7022, allocations: 1.156 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7022, allocations: 0 / 0.9521 GB, free: 6.785 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.000558/0.7028, allocations: 0.4902 MB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.7029, allocations: 9.438 kB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.7029, allocations: 40.08 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.703, allocations: 10.66 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.7031, allocations: 181.2 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7031, allocations: 11.38 kB / 0.9528 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.7031, allocations: 17.34 kB / 0.9528 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.7032, allocations: 62.91 kB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.7033, allocations: 0 / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.7033, allocations: 1.25 kB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7033, allocations: 5.656 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.7033, allocations: 22.48 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.7038, allocations: 414.9 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/0.7039, allocations: 40.02 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.7039, allocations: 15.8 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.704, allocations: 1.188 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.7042, allocations: 104.6 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.7042, allocations: 5.438 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003006/0.7045, allocations: 136.6 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.7045, allocations: 52.69 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.7046, allocations: 138.8 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.7046, allocations: 31.98 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.7047, allocations: 103.4 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.7047, allocations: 15.56 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.7049, allocations: 70.52 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.7049, allocations: 328.7 kB / 0.9543 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.7051, allocations: 89.56 kB / 0.9544 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.7053, allocations: 138.2 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.7055, allocations: 232.7 kB / 0.9547 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7056, allocations: 0 / 0.9547 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005715/0.7061, allocations: 373.4 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.7062, allocations: 104 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7062, allocations: 6.344 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7062, allocations: 2.375 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.422e-05/0.7063, allocations: 2.438 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7063, allocations: 2.406 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.7068, allocations: 88.36 kB / 0.9553 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.7069, allocations: 21.58 kB / 0.9553 GB, free: 3.863 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 0.0001105/0.707, allocations: 133.8 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.707, allocations: 8.875 kB / 0.9554 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.707, allocations: 17.45 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7071, allocations: 2.125 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7071, allocations: 0 / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7071, allocations: 0 / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.7072, allocations: 185.7 kB / 0.9556 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7072, allocations: 5.375 kB / 0.9556 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.7072, allocations: 5.422 kB / 0.9556 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7072, allocations: 1.156 kB / 0.9557 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.7072, allocations: 5.219 kB / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7073, allocations: 0 / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7073, allocations: 1.094 kB / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.7074, allocations: 139.4 kB / 0.9558 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.7075, allocations: 82.58 kB / 0.9559 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.7075, allocations: 9.438 kB / 0.9559 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.7075, allocations: 9.219 kB / 0.9559 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.7076, allocations: 8.172 kB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.7076, allocations: 3.531 kB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.7077, allocations: 99.3 kB / 0.956 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7077, allocations: 1.656 kB / 0.956 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000271/0.7079, allocations: 49.7 kB / 0.956 GB, free: 3.168 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.0004056/0.7083, allocations: 0.6863 MB / 0.9567 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.7088, allocations: 358 kB / 0.9571 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7088, allocations: 0 / 0.9571 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.7089, allocations: 43.59 kB / 0.9571 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.7091, allocations: 23.05 kB / 0.9571 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.7113, allocations: 2.064 MB / 0.9591 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.7116, allocations: 0.7039 MB / 0.9598 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.7116, allocations: 5.938 kB / 0.9598 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.7117, allocations: 29.2 kB / 0.9599 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7117, allocations: 0 / 0.9599 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.7261, allocations: 3.552 MB / 0.9633 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.7263, allocations: 199.8 kB / 0.9635 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.524, allocations: 5.406 kB / 0.9635 GB, free: 13.68 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