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.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.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.001487/0.001486, 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.001268/0.001268, allocations: 195 kB / 16.14 MB, free: 6.656 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.443/2.443, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8949, allocations: 140.4 MB / 0.9491 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00212/0.8971, allocations: 0.7557 MB / 0.9498 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.8987, allocations: 1.302 MB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.8987, allocations: 0 / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.8988, allocations: 9 kB / 0.9511 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.8989, allocations: 9.422 kB / 0.9511 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000713/0.8996, allocations: 290.3 kB / 0.9514 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.8998, allocations: 227.6 kB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.9, allocations: 15.19 kB / 0.9516 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.9001, allocations: 87.08 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.9002, allocations: 67.56 kB / 0.9517 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.9003, allocations: 16.95 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.9004, allocations: 27.55 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.9004, allocations: 18.48 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.9005, allocations: 77.83 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.9008, allocations: 208.1 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9008, allocations: 4 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9008, allocations: 0 / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9008, allocations: 0 / 0.9521 GB, free: 7.117 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.0005602/0.9014, allocations: 498 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.9015, allocations: 13.67 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.9015, allocations: 40.48 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.9016, allocations: 15.62 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/0.9017, allocations: 173.8 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.9017, allocations: 11.89 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.9017, allocations: 20.88 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.9019, allocations: 63.22 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.9019, allocations: 0 / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.9019, allocations: 1.312 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9019, allocations: 0 / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.902, allocations: 19.39 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.9025, allocations: 414.5 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.9025, allocations: 35.97 kB / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.9026, allocations: 28.97 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.9026, allocations: 0 / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.9028, allocations: 98.12 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.9028, allocations: 0 / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002809/0.9031, allocations: 132.1 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.9031, allocations: 65.8 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.9032, allocations: 138.1 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.9032, allocations: 32.17 kB / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.9033, allocations: 102.8 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.9033, allocations: 18.98 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.9035, allocations: 63.45 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.9035, allocations: 329.2 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.9037, allocations: 89.52 kB / 0.9544 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.9039, allocations: 142.5 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.9041, allocations: 228 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9042, allocations: 1.312 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005762/0.9047, allocations: 367.8 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.9048, allocations: 101.1 kB / 0.9552 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9048, allocations: 1.156 kB / 0.9552 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9048, allocations: 6.969 kB / 0.9552 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.542e-05/0.9049, allocations: 6.75 kB / 0.9552 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.9049, allocations: 11.17 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.9054, allocations: 83.44 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.9055, allocations: 17.67 kB / 0.9553 GB, free: 4.207 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.0001027/0.9056, allocations: 141 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.9056, allocations: 7.438 kB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.9056, allocations: 11.22 kB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9056, allocations: 1.438 kB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9056, allocations: 0 / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9056, allocations: 0 / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.9058, allocations: 194.2 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9058, allocations: 0 / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.9058, allocations: 1.5 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9058, allocations: 5.531 kB / 0.9556 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.9058, allocations: 5.438 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9058, allocations: 0 / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9058, allocations: 5.125 kB / 0.9557 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.906, allocations: 139.5 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.906, allocations: 82.2 kB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.906, allocations: 1.25 kB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.906, allocations: 5.234 kB / 0.9559 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.9061, allocations: 12.12 kB / 0.9559 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.9061, allocations: 11.92 kB / 0.9559 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.9061, allocations: 101.7 kB / 0.956 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9062, allocations: 0 / 0.956 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002535/0.9064, allocations: 43.06 kB / 0.956 GB, free: 3.512 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.0003616/0.9068, allocations: 0.6811 MB / 0.9567 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.9072, allocations: 363.6 kB / 0.957 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9072, allocations: 0 / 0.957 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.9073, allocations: 39.52 kB / 0.9571 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.9075, allocations: 20.86 kB / 0.9571 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.9096, allocations: 2.068 MB / 0.9591 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.9098, allocations: 0.7034 MB / 0.9598 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.9098, allocations: 11.05 kB / 0.9598 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.9098, allocations: 29.11 kB / 0.9598 GB, free: 76 kB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.9098, allocations: 0 / 0.9598 GB, free: 76 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.9249, allocations: 3.55 MB / 0.9633 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.9252, allocations: 196 kB / 0.9635 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.733, allocations: 0 / 0.9635 GB, free: 14.02 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