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.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 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.001286/0.001286, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.293/2.293, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6664, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001788/0.6682, allocations: 0.6577 MB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.6693, allocations: 1.186 MB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.6694, allocations: 1.375 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.6694, allocations: 3.938 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.026e-05/0.6695, allocations: 13.23 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.6701, allocations: 208.5 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.6703, allocations: 185.7 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.6704, allocations: 13.3 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.6705, allocations: 64.23 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.6706, allocations: 52.86 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.6707, allocations: 14.94 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.6707, allocations: 30.02 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.6708, allocations: 7.125 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.6709, allocations: 62.12 kB / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.671, allocations: 156.9 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6711, allocations: 0 / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6711, allocations: 0 / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6711, allocations: 0 / 0.9523 GB, free: 7.168 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.0004514/0.6715, allocations: 434.1 kB / 0.9527 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6716, allocations: 9.281 kB / 0.9527 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.317e-05/0.6716, allocations: 30.75 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.6717, allocations: 8.062 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.6718, allocations: 176.1 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6718, allocations: 16.05 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.6718, allocations: 13.59 kB / 0.953 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.6719, allocations: 44.44 kB / 0.953 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6719, allocations: 3.938 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.672, allocations: 0 / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.672, allocations: 1.25 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.672, allocations: 19.58 kB / 0.953 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.6724, allocations: 354.2 kB / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.6725, allocations: 32.69 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.6725, allocations: 18.78 kB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.6725, allocations: 1.531 kB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.6727, allocations: 83.75 kB / 0.9535 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.6727, allocations: 0 / 0.9535 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000229/0.6729, allocations: 103 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.673, allocations: 53.72 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.6731, allocations: 126.8 kB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6731, allocations: 33.8 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.6731, allocations: 88.45 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.6732, allocations: 10.31 kB / 0.9539 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.6733, allocations: 53.2 kB / 0.9539 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.6733, allocations: 320.2 kB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.6734, allocations: 62.41 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.6736, allocations: 91.12 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.6738, allocations: 164.8 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6738, allocations: 0 / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003549/0.6741, allocations: 261.7 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.6742, allocations: 65.28 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6742, allocations: 1.188 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6742, allocations: 6.328 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.6742, allocations: 10.44 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6742, allocations: 1.062 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.6746, allocations: 60.16 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.6746, allocations: 12.86 kB / 0.955 GB, free: 4.648 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 7.2e-05/0.6747, allocations: 125 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.6747, allocations: 11.28 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.6748, allocations: 13.45 kB / 0.9551 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6748, allocations: 1.219 kB / 0.9551 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6748, allocations: 4 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6748, allocations: 0 / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.441e-05/0.6749, allocations: 177.6 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6749, allocations: 0 / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.6749, allocations: 5.062 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.6749, allocations: 5.109 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6749, allocations: 5.188 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6749, allocations: 0 / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6749, allocations: 0.9375 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.675, allocations: 111.9 kB / 0.9554 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.6751, allocations: 79.17 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.6751, allocations: 4.906 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/0.6751, allocations: 1.188 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.6751, allocations: 6.453 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.6752, allocations: 3.094 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.6752, allocations: 94.33 kB / 0.9556 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6752, allocations: 0 / 0.9556 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002264/0.6754, allocations: 35.59 kB / 0.9556 GB, free: 3.992 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.0002992/0.6757, allocations: 0.6583 MB / 0.9563 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.676, allocations: 245.7 kB / 0.9565 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6761, allocations: 0 / 0.9565 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.6761, allocations: 32.42 kB / 0.9565 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6763, allocations: 18.02 kB / 0.9565 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.6779, allocations: 1.719 MB / 0.9582 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.678, allocations: 0.6871 MB / 0.9589 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.6781, allocations: 12.11 kB / 0.9589 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.6781, allocations: 18.59 kB / 0.9589 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6781, allocations: 7.938 kB / 0.9589 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.6964, allocations: 2.855 MB / 0.9617 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.399, allocations: 9.75 kB / 0.9617 GB, free: 15.36 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