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.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.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.001029/0.001029, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009101/0.009101, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.359/2.359, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8362/0.8367, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008413/0.8376, allocations: 387.2 kB / 0.9556 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.8391, allocations: 1.204 MB / 0.9567 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.8391, allocations: 1.312 kB / 0.9567 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.8392, allocations: 3.984 kB / 0.9567 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.8392, allocations: 9.25 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.8399, allocations: 194.7 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.8401, allocations: 157.7 kB / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.8402, allocations: 12.25 kB / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.8403, allocations: 55.02 kB / 0.9571 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.8404, allocations: 54.55 kB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.8404, allocations: 7.312 kB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.8405, allocations: 22.17 kB / 0.9572 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.8405, allocations: 3.844 kB / 0.9572 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.8406, allocations: 80.17 kB / 0.9573 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.8408, allocations: 135.9 kB / 0.9574 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8408, allocations: 0 / 0.9574 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8408, allocations: 4 kB / 0.9574 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.8408, allocations: 0 / 0.9574 GB, free: 5.984 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.0003822/0.8412, allocations: 410.2 kB / 0.9578 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8412, allocations: 9.031 kB / 0.9578 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.617e-05/0.8413, allocations: 39.69 kB / 0.9579 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.8413, allocations: 8.594 kB / 0.9579 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.394e-05/0.8414, allocations: 179.4 kB / 0.9581 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.8414, allocations: 8.828 kB / 0.9581 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.8414, allocations: 9 kB / 0.9581 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.8415, allocations: 51.38 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.8416, allocations: 4.969 kB / 0.9581 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.8416, allocations: 3.938 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8416, allocations: 1.062 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.8416, allocations: 20.14 kB / 0.9582 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.842, allocations: 345.8 kB / 0.9585 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.8421, allocations: 36.89 kB / 0.9585 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.8421, allocations: 18.75 kB / 0.9585 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.8421, allocations: 1.344 kB / 0.9585 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.8422, allocations: 83.5 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8422, allocations: 0 / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001997/0.8424, allocations: 103.8 kB / 0.9587 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.8425, allocations: 53.56 kB / 0.9588 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.8425, allocations: 126.1 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.8426, allocations: 30.2 kB / 0.9589 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.8426, allocations: 88.14 kB / 0.959 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.8426, allocations: 14.62 kB / 0.959 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.8427, allocations: 25.33 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.8427, allocations: 329.7 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.8429, allocations: 53.88 kB / 0.9594 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.843, allocations: 99.38 kB / 0.9595 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.8432, allocations: 156.7 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8432, allocations: 0 / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003641/0.8435, allocations: 262.9 kB / 0.9599 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.8436, allocations: 67.64 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8436, allocations: 1.375 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.8436, allocations: 2.75 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.765e-05/0.8436, allocations: 1.375 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8437, allocations: 6.688 kB / 0.96 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.8441, allocations: 86.83 kB / 0.9601 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.8441, allocations: 12.25 kB / 0.9601 GB, free: 3.473 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.788e-05/0.8442, allocations: 130 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.8442, allocations: 6.656 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.8442, allocations: 9.75 kB / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.8443, allocations: 5.359 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8443, allocations: 1.375 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8443, allocations: 0 / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.8444, allocations: 184.5 kB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8444, allocations: 0 / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-06/0.8444, allocations: 1.375 kB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8444, allocations: 1.375 kB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8444, allocations: 1.375 kB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8444, allocations: 4 kB / 0.9604 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8444, allocations: 0 / 0.9604 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.8446, allocations: 112.7 kB / 0.9605 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.8446, allocations: 82.39 kB / 0.9606 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.8446, allocations: 5.359 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.8447, allocations: 1.375 kB / 0.9606 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.8447, allocations: 6.75 kB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.8447, allocations: 2.75 kB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.8447, allocations: 98.08 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8447, allocations: 1.375 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002229/0.845, allocations: 26.12 kB / 0.9607 GB, free: 2.816 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.0003392/0.8453, allocations: 0.6581 MB / 0.9614 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.8456, allocations: 244.9 kB / 0.9616 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8456, allocations: 0 / 0.9616 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.8457, allocations: 24.78 kB / 0.9616 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.8459, allocations: 16.39 kB / 0.9616 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.8475, allocations: 1.72 MB / 0.9633 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.8477, allocations: 0.6881 MB / 0.964 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.8477, allocations: 7.812 kB / 0.964 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.8478, allocations: 23.42 kB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.8478, allocations: 0 / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.859, allocations: 2.609 MB / 0.9666 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.8592, allocations: 202 kB / 0.9668 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.667, allocations: 0 / 0.9668 GB, free: 14.2 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