Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001392/0.001392, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.32/2.32, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5627, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001818/0.5645, allocations: 0.7329 MB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.5659, allocations: 1.202 MB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.566, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.566, allocations: 3.984 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.5661, allocations: 19.8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.5666, allocations: 199.5 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.5667, allocations: 151.7 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.5668, allocations: 8 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.5669, allocations: 59.88 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.567, allocations: 47.88 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.567, allocations: 8 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.5671, allocations: 23.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.5671, allocations: 11.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.693e-05/0.5672, allocations: 51.89 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.5674, allocations: 145.8 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5674, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5674, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5674, allocations: 4 kB / 1.019 GB, free: 140 kB / 0.7637 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.0004505/0.5679, allocations: 434.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5679, allocations: 8.031 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.568, allocations: 38.69 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.568, allocations: 8.844 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.5681, allocations: 172.3 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.5682, allocations: 4.375 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.5682, allocations: 20.31 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.5683, allocations: 42.25 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.5683, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5683, allocations: 3.984 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5683, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.5684, allocations: 15.94 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.5688, allocations: 356.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.5689, allocations: 34.56 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.569, allocations: 16.86 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.569, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.5691, allocations: 87.39 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5691, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002214/0.5694, allocations: 105.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.5694, allocations: 59.39 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.5695, allocations: 113.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.5695, allocations: 29.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.5696, allocations: 92.14 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.5696, allocations: 19.78 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.5697, allocations: 49.69 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.5698, allocations: 322.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5699, allocations: 67.89 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.5701, allocations: 92.27 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.5703, allocations: 164.1 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5703, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003877/0.5707, allocations: 260.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.5707, allocations: 71.39 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5707, allocations: 4.125 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5707, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.899e-05/0.5708, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5708, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.5711, allocations: 55.88 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.5712, allocations: 15.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 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 9.045e-05/0.5713, allocations: 126.3 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.5713, allocations: 7.891 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.5713, allocations: 12.38 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5713, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5713, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5713, allocations: 64 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.5714, allocations: 177.6 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5715, allocations: 3.984 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.5715, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5715, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5715, allocations: 8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5715, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5715, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.5716, allocations: 116.9 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.5717, allocations: 81.02 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.5717, allocations: 8 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.5717, allocations: 0 / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.5717, allocations: 7.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.5718, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.5718, allocations: 95.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5718, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002237/0.572, allocations: 32 kB / 1.023 GB, free: 12.33 MB / 0.7794 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.0003582/0.5724, allocations: 0.6556 MB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.5727, allocations: 250.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5727, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.5728, allocations: 23.98 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.573, allocations: 15.98 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.5746, allocations: 1.714 MB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.5748, allocations: 0.6887 MB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.5749, allocations: 4 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.5749, allocations: 19.44 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5749, allocations: 0 / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.5855, allocations: 2.671 MB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.5857, allocations: 200.9 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.129, allocations: 0 / 1.029 GB, free: 5.949 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches