Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.004916/0.004916, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001173/0.001173, allocations: 190 kB / 16.67 MB, free: 5.934 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 472.7 MB / 0.7453 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 67.89 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7095/0.7117, allocations: 159.9 MB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002661/0.7144, allocations: 1.757 MB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.7146, allocations: 87.72 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.7146, allocations: 0 / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.7147, allocations: 11.81 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.7147, allocations: 11.88 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 9.287e-05/0.7148, allocations: 35.95 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.715, allocations: 111.6 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.7151, allocations: 61.08 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.7152, allocations: 39.84 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.7153, allocations: 51.77 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.7153, allocations: 12 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.7153, allocations: 12 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.7154, allocations: 23.92 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.7154, allocations: 51.73 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.7155, allocations: 114.2 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7156, allocations: 0 / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7156, allocations: 0 / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7156, allocations: 0 / 1.228 GB, free: 10.99 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006489/0.7162, allocations: 435.9 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7163, allocations: 12.03 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.7163, allocations: 46.67 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.7164, allocations: 16.84 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.7166, allocations: 190.8 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.7166, allocations: 8.375 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.7166, allocations: 12.38 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.717, allocations: 126.1 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.717, allocations: 3.938 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.717, allocations: 4 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.717, allocations: 0 / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.7175, allocations: 119.9 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.7179, allocations: 384.5 kB / 1.229 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.7183, allocations: 94.5 kB / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.7185, allocations: 56.94 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.7185, allocations: 4 kB / 1.229 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.7186, allocations: 38.48 kB / 1.229 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.7186, allocations: 0 / 1.229 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0007316/0.7193, allocations: 197.6 kB / 1.229 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.7194, allocations: 55.39 kB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.7194, allocations: 125.8 kB / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.7195, allocations: 25.7 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.7196, allocations: 104 kB / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.7196, allocations: 23.78 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.7197, allocations: 21.72 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.7198, allocations: 322.8 kB / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.72, allocations: 47.95 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.7202, allocations: 51.88 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.7206, allocations: 108.8 kB / 1.23 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7206, allocations: 3.938 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004599/0.7211, allocations: 145.9 kB / 1.23 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.7211, allocations: 9.25 kB / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7211, allocations: 4.047 kB / 1.23 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.7211, allocations: 7.938 kB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.7213, allocations: 23.97 kB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.7213, allocations: 0 / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.7214, allocations: 19.98 kB / 1.23 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.7214, allocations: 3.938 kB / 1.23 GB, free: 7.961 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.227e-05/0.7215, allocations: 122.4 kB / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.7215, allocations: 7.953 kB / 1.23 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.7216, allocations: 16.31 kB / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7216, allocations: 0 / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7216, allocations: 0 / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7216, allocations: 0 / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.7218, allocations: 201.6 kB / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7218, allocations: 4 kB / 1.231 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.722, allocations: 27.97 kB / 1.231 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.722, allocations: 0 / 1.231 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.722, allocations: 3.938 kB / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.722, allocations: 0 / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.722, allocations: 0 / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.7225, allocations: 247.3 kB / 1.231 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.7226, allocations: 77.11 kB / 1.231 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.7226, allocations: 11.94 kB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.7227, allocations: 15.97 kB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.7228, allocations: 11.98 kB / 1.231 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.7228, allocations: 4 kB / 1.231 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.7229, allocations: 101.7 kB / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7229, allocations: 0 / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002459/0.7231, allocations: 19.95 kB / 1.231 GB, free: 7.012 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0007959/0.7239, allocations: 0.7748 MB / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.7244, allocations: 123.9 kB / 1.232 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7244, allocations: 0 / 1.232 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.7246, allocations: 55.94 kB / 1.232 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.725, allocations: 19.92 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.7271, allocations: 1.594 MB / 1.234 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.7274, allocations: 0.7002 MB / 1.234 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.7274, allocations: 0 / 1.234 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.7275, allocations: 27.44 kB / 1.234 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/0.7275, allocations: 0 / 1.234 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.7463, allocations: 2.257 MB / 1.237 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/8.01, allocations: 7.969 kB / 1.237 GB, free: 1.473 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches