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.0008288/0.0008289, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.00525/0.005251, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.533/2.533, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 12 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7873, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008464/0.7882, allocations: 393 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.7899, allocations: 1.199 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.79, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.79, allocations: 3.938 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.7901, allocations: 7.922 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.7908, allocations: 199.4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.791, allocations: 155.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.7911, allocations: 8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.7912, allocations: 63.88 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.7913, allocations: 43.88 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.7914, allocations: 8 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.7914, allocations: 23.97 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.7915, allocations: 8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.7916, allocations: 73.53 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.7918, allocations: 145.9 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7918, allocations: 7.938 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.507e-06/0.7918, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.7918, allocations: 3.938 kB / 1.025 GB, free: 13.52 MB / 0.7794 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.0004807/0.7923, allocations: 406.8 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7924, allocations: 8.031 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.7924, allocations: 30.75 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.7925, allocations: 8.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.7926, allocations: 176.2 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.7926, allocations: 12.36 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.7927, allocations: 8.375 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.7928, allocations: 50.25 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7928, allocations: 3.938 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7928, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7928, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.7929, allocations: 19.92 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.7934, allocations: 348.8 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.239e-05/0.7935, allocations: 34.58 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.7935, allocations: 12.94 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.7936, allocations: 7.984 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.7937, allocations: 91.2 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7937, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002495/0.794, allocations: 101.9 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.794, allocations: 55.41 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.7942, allocations: 129.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.7942, allocations: 29.7 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.7943, allocations: 88.14 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.7943, allocations: 19.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.7944, allocations: 25.7 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7945, allocations: 318.8 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.7946, allocations: 59.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.7948, allocations: 96.27 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.795, allocations: 160 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.795, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004127/0.7954, allocations: 256.9 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.7955, allocations: 71.39 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7955, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.7955, allocations: 3.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.674e-05/0.7955, allocations: 11.94 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7955, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.7959, allocations: 83.89 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.796, allocations: 8 kB / 1.028 GB, free: 10.52 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 0.0001145/0.7961, allocations: 136.4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.7961, allocations: 7.969 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.7962, allocations: 12.38 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.7962, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7962, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.7962, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.7963, allocations: 181.6 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7963, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.7963, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7964, allocations: 3.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.7964, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7964, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7964, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.7965, allocations: 113 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.7966, allocations: 81.02 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7966, allocations: 4 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.7966, allocations: 3.984 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.7967, allocations: 0 / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.7967, allocations: 8 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.7968, allocations: 99.2 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7968, allocations: 0 / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002377/0.797, allocations: 32 kB / 1.029 GB, free: 9.75 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.0004932/0.7975, allocations: 0.6513 MB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.7978, allocations: 250.7 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7979, allocations: 0 / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.7979, allocations: 24 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.7982, allocations: 17.64 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.8001, allocations: 1.72 MB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.8004, allocations: 0.6888 MB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.8004, allocations: 4 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.8005, allocations: 23.42 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/0.8005, allocations: 0 / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.8146, allocations: 2.604 MB / 1.035 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.8149, allocations: 195 kB / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.486, allocations: 0 / 1.035 GB, free: 3.465 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