Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 101.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 182 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.501/2.501, allocations: 489.7 MB / 0.7755 GB, free: 2.414 MB / 0.6075 GB " [Timeout remaining time 177] 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.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 59.91 kB / 1.126 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.7008, allocations: 172.1 MB / 1.294 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002966/0.7038, allocations: 2.072 MB / 1.296 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.7057, allocations: 1.377 MB / 1.297 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.7058, allocations: 5.094 kB / 1.297 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.7063, allocations: 261.1 kB / 1.297 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008146/0.7071, allocations: 433.1 kB / 1.298 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.663e-06/0.7071, allocations: 1.469 kB / 1.298 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.7075, allocations: 396 kB / 1.298 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.7075, allocations: 15.22 kB / 1.298 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.7077, allocations: 134.5 kB / 1.298 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.7079, allocations: 215.5 kB / 1.299 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.7079, allocations: 23.44 kB / 1.299 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.7083, allocations: 283.7 kB / 1.299 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.7087, allocations: 393.6 kB / 1.299 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.709, allocations: 413.1 kB / 1.3 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.7101, allocations: 1.156 MB / 1.301 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7101, allocations: 0 / 1.301 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7101, allocations: 0 / 1.301 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.7101, allocations: 1.156 kB / 1.301 GB, free: 1.547 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001529/0.7116, allocations: 1.251 MB / 1.302 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.7117, allocations: 9.656 kB / 1.302 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.7117, allocations: 51.45 kB / 1.302 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.7123, allocations: 160.5 kB / 1.302 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.716, allocations: 4.266 MB / 1.306 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.716, allocations: 14.62 kB / 1.306 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.716, allocations: 15.33 kB / 1.306 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/0.7168, allocations: 0.6427 MB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7168, allocations: 5.469 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.7168, allocations: 5.438 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7168, allocations: 2.531 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.718, allocations: 1.103 MB / 1.308 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.7213, allocations: 3.166 MB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.722, allocations: 333.8 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.7223, allocations: 225.9 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.7224, allocations: 28.17 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.7224, allocations: 35.72 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.193e-06/0.7224, allocations: 0 / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001168/0.7236, allocations: 0.7205 MB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7236, allocations: 54.34 kB / 1.313 GB, free: 12.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006463/0.7301, allocations: 6.498 MB / 1.319 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.7301, allocations: 26.92 kB / 1.319 GB, free: 10.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.7304, allocations: 423.3 kB / 1.319 GB, free: 10.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.7305, allocations: 72.08 kB / 1.319 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.7306, allocations: 56.62 kB / 1.32 GB, free: 10 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7307, allocations: 320.7 kB / 1.32 GB, free: 9.684 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.7313, allocations: 0.5287 MB / 1.32 GB, free: 9.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.7319, allocations: 0.5526 MB / 1.321 GB, free: 9.293 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.7328, allocations: 0.7707 MB / 1.322 GB, free: 8.996 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7328, allocations: 0 / 1.322 GB, free: 8.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00138/0.7342, allocations: 1.233 MB / 1.323 GB, free: 8.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7342, allocations: 7.719 kB / 1.323 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7342, allocations: 5 kB / 1.323 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7342, allocations: 2.219 kB / 1.323 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.7345, allocations: 64.11 kB / 1.323 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7345, allocations: 1.281 kB / 1.323 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.7349, allocations: 39.42 kB / 1.323 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.7349, allocations: 15.39 kB / 1.323 GB, free: 8.473 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0002692/0.7352, allocations: 280 kB / 1.323 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.7353, allocations: 100.1 kB / 1.323 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.7362, allocations: 0.5608 MB / 1.324 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.7362, allocations: 3.469 kB / 1.324 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7362, allocations: 0 / 1.324 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7362, allocations: 4 kB / 1.324 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.7392, allocations: 2.814 MB / 1.327 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7392, allocations: 4.094 kB / 1.327 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.7394, allocations: 56.67 kB / 1.327 GB, free: 6.344 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.7394, allocations: 3.938 kB / 1.327 GB, free: 6.344 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.7395, allocations: 11.75 kB / 1.327 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7395, allocations: 9.656 kB / 1.327 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7395, allocations: 4.562 kB / 1.327 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.7403, allocations: 0.6865 MB / 1.327 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.7406, allocations: 269.1 kB / 1.328 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7407, allocations: 6.875 kB / 1.328 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.7411, allocations: 26.77 kB / 1.328 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.7411, allocations: 25.45 kB / 1.328 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.7412, allocations: 22.8 kB / 1.328 GB, free: 5.613 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004198/0.7454, allocations: 5.154 MB / 1.333 GB, free: 3.316 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.7454, allocations: 0 / 1.333 GB, free: 3.316 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006038/0.746, allocations: 191.6 kB / 1.333 GB, free: 3.297 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.001342/0.7473, allocations: 1.286 MB / 1.334 GB, free: 2.293 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009534/0.7483, allocations: 0.7669 MB / 1.335 GB, free: 2.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7483, allocations: 0 / 1.335 GB, free: 2.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.7486, allocations: 227.1 kB / 1.335 GB, free: 1.934 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.7494, allocations: 187.7 kB / 1.335 GB, free: 1.832 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.7718, allocations: 22.95 MB / 1.358 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.7725, allocations: 1.003 MB / 1.359 GB, free: 12.56 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003385/0.7728, allocations: 153.4 kB / 1.359 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.7732, allocations: 299.3 kB / 1.359 GB, free: 12.12 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.7732, allocations: 0 / 1.359 GB, free: 12.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.822, allocations: 23.82 MB / 1.382 GB, free: 4.508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/9.095, allocations: 8.797 kB / 1.382 GB, free: 4.5 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.356598055001086]