Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.001427/0.001427, 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.001892/0.001892, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.513/1.513, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.514/2.514, allocations: 390.2 MB / 0.6644 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 63.91 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8708, allocations: 140.4 MB / 0.9493 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001841/0.8727, allocations: 0.7111 MB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.874, allocations: 1.186 MB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.8741, allocations: 1.375 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.8741, allocations: 7.922 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.8742, allocations: 5.312 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.8748, allocations: 200 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.8751, allocations: 182.7 kB / 0.9515 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.8752, allocations: 9.391 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.8753, allocations: 66.95 kB / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.8754, allocations: 53.73 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.8754, allocations: 15.28 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.8755, allocations: 36.33 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.8756, allocations: 7.438 kB / 0.9517 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.8757, allocations: 64.06 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.8759, allocations: 143.3 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8759, allocations: 0 / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8759, allocations: 1.312 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.8759, allocations: 3.938 kB / 0.9519 GB, free: 7.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005341/0.8764, allocations: 436 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.8765, allocations: 9.812 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.8765, allocations: 32.16 kB / 0.9523 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.8766, allocations: 11.62 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.8767, allocations: 176.2 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.8767, allocations: 7.812 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.8768, allocations: 10.25 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.8769, allocations: 47.8 kB / 0.9526 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.8769, allocations: 3.938 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.8769, allocations: 7.938 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8769, allocations: 1.438 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.877, allocations: 15.19 kB / 0.9526 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.8774, allocations: 355 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.8775, allocations: 36.66 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.8775, allocations: 14.2 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.8776, allocations: 1.5 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.8777, allocations: 92.19 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.8777, allocations: 0 / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/0.878, allocations: 99.64 kB / 0.9532 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.878, allocations: 56.88 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.8781, allocations: 118.5 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.8781, allocations: 33.48 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.8782, allocations: 97.05 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.8782, allocations: 14.69 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.8783, allocations: 48.44 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.8784, allocations: 325.5 kB / 0.9538 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.8785, allocations: 58.42 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.8786, allocations: 95.08 kB / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.8788, allocations: 160.1 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8788, allocations: 1 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003808/0.8792, allocations: 261.9 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.8793, allocations: 68.98 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8793, allocations: 0.9688 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8793, allocations: 2.281 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.8793, allocations: 10.69 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.8793, allocations: 5.812 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.8797, allocations: 51.78 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.8797, allocations: 13.45 kB / 0.9545 GB, free: 4.609 MB / 0.7169 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,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 (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 8.627e-05/0.8798, allocations: 125.7 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.8798, allocations: 11.27 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.8799, allocations: 9.844 kB / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8799, allocations: 0 / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8799, allocations: 1.375 kB / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.8799, allocations: 0 / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.88, allocations: 188.5 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.88, allocations: 0 / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.88, allocations: 1.5 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.88, allocations: 1.25 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.88, allocations: 5.344 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8801, allocations: 96 / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8801, allocations: 5.062 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.8802, allocations: 115.9 kB / 0.955 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.8802, allocations: 78.3 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8802, allocations: 1.344 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.8803, allocations: 1.562 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.8803, allocations: 9.891 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.8803, allocations: 3.281 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.8804, allocations: 91.23 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8804, allocations: 4 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002398/0.8806, allocations: 26.81 kB / 0.9552 GB, free: 3.953 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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.0003575/0.881, allocations: 0.6624 MB / 0.9558 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.8813, allocations: 245.8 kB / 0.9561 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8813, allocations: 4.25 kB / 0.9561 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.8814, allocations: 28.94 kB / 0.9561 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.8816, allocations: 17.33 kB / 0.9561 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.8832, allocations: 1.719 MB / 0.9578 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.8834, allocations: 0.6949 MB / 0.9585 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.8834, allocations: 12.53 kB / 0.9585 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.8834, allocations: 14.44 kB / 0.9585 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8834, allocations: 0 / 0.9585 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.8982, allocations: 2.762 MB / 0.9612 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.8984, allocations: 202.9 kB / 0.9614 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.768, allocations: 3.938 kB / 0.9614 GB, free: 15.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches