Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.007665/0.007665, allocations: 99.86 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.001955/0.001955, allocations: 192.8 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.381/2.381, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.08 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.681, allocations: 151.6 MB / 1.166 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003385/0.6844, allocations: 2.162 MB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.6876, allocations: 2.651 MB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.6878, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.689, allocations: 0.5441 MB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.6893, allocations: 115.4 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.69, allocations: 251.9 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.6904, allocations: 358.3 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.6905, allocations: 77.05 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.6907, allocations: 127.3 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.6909, allocations: 147.2 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.6909, allocations: 11.94 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.6911, allocations: 67.95 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.6913, allocations: 139.4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.6915, allocations: 226.4 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007186/0.6922, allocations: 0.7118 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6922, allocations: 0 / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6922, allocations: 4 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.6923, allocations: 0 / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001429/0.6937, allocations: 0.9377 MB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6937, allocations: 8.922 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.6938, allocations: 38.75 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.6939, allocations: 72.47 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.6945, allocations: 468.7 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.6945, allocations: 4.375 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.6946, allocations: 11.94 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.6948, allocations: 96.17 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6948, allocations: 3.984 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.6948, allocations: 4 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.6949, allocations: 0 / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.695, allocations: 39.97 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.6958, allocations: 0.5278 MB / 1.176 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.6962, allocations: 98.64 kB / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.6963, allocations: 32.84 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.6963, allocations: 8.031 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.6965, allocations: 91.31 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.6965, allocations: 0 / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004279/0.6969, allocations: 197.2 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.697, allocations: 102.8 kB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.6981, allocations: 0.9226 MB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.6981, allocations: 29.7 kB / 1.177 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.6984, allocations: 316 kB / 1.177 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.6984, allocations: 23.78 kB / 1.177 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.6985, allocations: 29.7 kB / 1.177 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6986, allocations: 310 kB / 1.178 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.6987, allocations: 31.92 kB / 1.178 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.6988, allocations: 72.27 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.699, allocations: 65.7 kB / 1.178 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.699, allocations: 4 kB / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002615/0.6992, allocations: 177.1 kB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6993, allocations: 8 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6993, allocations: 0 / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6993, allocations: 0 / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.6994, allocations: 19.92 kB / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6994, allocations: 0 / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.6995, allocations: 15.89 kB / 1.178 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.6995, allocations: 4 kB / 1.178 GB, free: 7.309 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002783/0.6998, allocations: 322.2 kB / 1.178 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.6999, allocations: 71.53 kB / 1.179 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.7, allocations: 78.8 kB / 1.179 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7, allocations: 0 / 1.179 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7, allocations: 4 kB / 1.179 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7, allocations: 3.938 kB / 1.179 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.7004, allocations: 389.4 kB / 1.179 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7004, allocations: 0 / 1.179 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.7005, allocations: 8 kB / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.7005, allocations: 7.938 kB / 1.179 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.7005, allocations: 0 / 1.179 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7005, allocations: 7.984 kB / 1.179 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7005, allocations: 0 / 1.179 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.7008, allocations: 208.5 kB / 1.179 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7009, allocations: 144.6 kB / 1.179 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.701, allocations: 0 / 1.179 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.7011, allocations: 7.984 kB / 1.179 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.7012, allocations: 15.94 kB / 1.179 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.7012, allocations: 7.984 kB / 1.179 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007529/0.702, allocations: 0.6707 MB / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.702, allocations: 0 / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002895/0.7023, allocations: 63.98 kB / 1.18 GB, free: 5.227 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.001427/0.7037, allocations: 1.059 MB / 1.181 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.7039, allocations: 71.95 kB / 1.181 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7039, allocations: 4 kB / 1.181 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.704, allocations: 35.92 kB / 1.181 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.7047, allocations: 188.1 kB / 1.181 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.7102, allocations: 4.826 MB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.7108, allocations: 0.9902 MB / 1.187 GB, free: 14.07 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.711, allocations: 55.25 kB / 1.187 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.7112, allocations: 191.4 kB / 1.187 GB, free: 13.83 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.7112, allocations: 0 / 1.187 GB, free: 13.83 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.7395, allocations: 13.22 MB / 1.2 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/9.341, allocations: 12.58 kB / 1.2 GB, free: 0.8281 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches