Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 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.001105/0.001105, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.364/2.364, allocations: 390.3 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 59.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7072, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001918/0.7092, allocations: 0.6995 MB / 0.9504 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.7106, allocations: 1.266 MB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.7106, allocations: 1.344 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.7107, allocations: 3.938 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.7108, allocations: 21.45 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.7115, allocations: 306 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.7118, allocations: 277.6 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.7119, allocations: 11.59 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.712, allocations: 99.14 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.7121, allocations: 79.47 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.7122, allocations: 23.25 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.7123, allocations: 36.66 kB / 0.9525 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.7124, allocations: 17.33 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.7125, allocations: 82.02 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.7127, allocations: 219.6 kB / 0.9528 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7127, allocations: 0 / 0.9528 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7127, allocations: 1.406 kB / 0.9528 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7127, allocations: 0 / 0.9528 GB, free: 6.812 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.0005173/0.7133, allocations: 497 kB / 0.9533 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7133, allocations: 14.19 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.7133, allocations: 36 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.7134, allocations: 14.81 kB / 0.9533 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.7135, allocations: 182.9 kB / 0.9535 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.7135, allocations: 10.36 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.7136, allocations: 14.12 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.7137, allocations: 59.3 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7137, allocations: 0 / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7137, allocations: 1.219 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7137, allocations: 0 / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.7138, allocations: 24.11 kB / 0.9536 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.7142, allocations: 421.5 kB / 0.954 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.947e-05/0.7143, allocations: 31.45 kB / 0.954 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.7143, allocations: 21 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.7143, allocations: 1.188 kB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.7145, allocations: 105.7 kB / 0.9542 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.7145, allocations: 0 / 0.9542 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002719/0.7148, allocations: 136.6 kB / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.7148, allocations: 54.19 kB / 0.9543 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.7149, allocations: 135.9 kB / 0.9545 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.7149, allocations: 35.64 kB / 0.9545 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.715, allocations: 99.02 kB / 0.9546 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.715, allocations: 19.42 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7151, allocations: 70.92 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.7152, allocations: 325.3 kB / 0.955 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.7154, allocations: 86.27 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.7156, allocations: 136.1 kB / 0.9552 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.7159, allocations: 232.2 kB / 0.9554 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7159, allocations: 384 / 0.9554 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005565/0.7164, allocations: 384.7 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.7165, allocations: 96.81 kB / 0.9559 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7165, allocations: 6.094 kB / 0.9559 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7165, allocations: 10.64 kB / 0.9559 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.7166, allocations: 6.25 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7166, allocations: 7.109 kB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.7171, allocations: 83 kB / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.7172, allocations: 21.64 kB / 0.956 GB, free: 3.895 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,or1.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.0001062/0.7173, allocations: 133.8 kB / 0.9561 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.7173, allocations: 7.438 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.7173, allocations: 10.47 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7173, allocations: 1.188 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7173, allocations: 0 / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7173, allocations: 5.219 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.7175, allocations: 192.9 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7175, allocations: 1.281 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.7175, allocations: 1.188 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7175, allocations: 1.125 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.7175, allocations: 1.125 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7175, allocations: 5 kB / 0.9564 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7175, allocations: 0 / 0.9564 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.7177, allocations: 144.9 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.7177, allocations: 83.67 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.7177, allocations: 4.812 kB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.7178, allocations: 5.266 kB / 0.9566 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.7178, allocations: 7.938 kB / 0.9566 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.7178, allocations: 8.453 kB / 0.9566 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.7179, allocations: 96.88 kB / 0.9567 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7179, allocations: 0 / 0.9567 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002574/0.7181, allocations: 43.38 kB / 0.9567 GB, free: 3.215 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,or1.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.0003536/0.7185, allocations: 0.6859 MB / 0.9574 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.7189, allocations: 360.1 kB / 0.9577 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7189, allocations: 7.938 kB / 0.9578 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.719, allocations: 35.27 kB / 0.9578 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.7192, allocations: 32.06 kB / 0.9578 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.7212, allocations: 2.056 MB / 0.9598 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7215, allocations: 0.6958 MB / 0.9605 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.7216, allocations: 5.844 kB / 0.9605 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.7216, allocations: 28.8 kB / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7216, allocations: 0 / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.7476, allocations: 3.782 MB / 0.9642 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.656, allocations: 7.172 kB / 0.9642 GB, free: 13.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches