Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.00854/0.00854, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001574/0.001574, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00315/0.003151, allocations: 75.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.8854, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002111/0.8876, allocations: 0.7457 MB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.8892, allocations: 1.151 MB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.8892, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.8893, allocations: 3.938 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.8894, allocations: 15.86 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.8899, allocations: 127.8 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.8901, allocations: 127.7 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.8902, allocations: 15.97 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8903, allocations: 43.91 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.8905, allocations: 51.81 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.8905, allocations: 12 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.8906, allocations: 23.98 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.8906, allocations: 11.98 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.8907, allocations: 43.84 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.8909, allocations: 114.3 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8909, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8909, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.891, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006726/0.8916, allocations: 421.8 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8917, allocations: 12.03 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.8918, allocations: 34.73 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.8918, allocations: 8.938 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.8919, allocations: 164.3 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.892, allocations: 8.375 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.892, allocations: 8.375 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.8922, allocations: 66.16 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.8922, allocations: 3.938 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8922, allocations: 8 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8922, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.8924, allocations: 47.94 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.893, allocations: 336.5 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.8932, allocations: 66.55 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.8933, allocations: 32.97 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.8933, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.8936, allocations: 87.36 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.8936, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004601/0.894, allocations: 141.5 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.8941, allocations: 55.41 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.8942, allocations: 117.8 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.8942, allocations: 33.7 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.8943, allocations: 88.14 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.8944, allocations: 31.84 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.8944, allocations: 33.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8946, allocations: 326.8 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.8948, allocations: 59.97 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.895, allocations: 84.25 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.8953, allocations: 137.9 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8953, allocations: 0 / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004507/0.8957, allocations: 215.2 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.8958, allocations: 37.69 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8958, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8958, allocations: 4 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.8959, allocations: 15.92 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8959, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.8961, allocations: 35.91 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.8962, allocations: 11.98 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001049/0.8963, allocations: 125.8 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.8963, allocations: 3.953 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.8963, allocations: 16.31 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8964, allocations: 3.984 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8964, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8964, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.8969, allocations: 378.7 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8969, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.8969, allocations: 7.984 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.897, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.897, allocations: 4 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.897, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.897, allocations: 80 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.8973, allocations: 211.4 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.8974, allocations: 89.05 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.8974, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.8975, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.8975, allocations: 11.92 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.8975, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.8976, allocations: 95.75 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8976, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002621/0.8979, allocations: 28 kB / 1.226 GB, free: 11.52 MB / 0.9512 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007105/0.8986, allocations: 0.7519 MB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.899, allocations: 179.3 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.899, allocations: 0 / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.8992, allocations: 39.92 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.8995, allocations: 24.11 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.9016, allocations: 1.694 MB / 1.229 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.9019, allocations: 0.6884 MB / 1.229 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.9019, allocations: 7.984 kB / 1.229 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.902, allocations: 19.44 kB / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.902, allocations: 0 / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.9258, allocations: 2.545 MB / 1.232 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/9.252, allocations: 12.59 kB / 1.232 GB, free: 5.492 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches